Skip to content

Commit

Permalink
fix: Some attestation payloads caused the subgraph to fail while inde…
Browse files Browse the repository at this point in the history
…xing (#611)
  • Loading branch information
alainncls authored May 24, 2024
1 parent c5ad56c commit 17d6e5e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"dependencies": {
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@tanstack/react-table": "^8.10.7",
"@verax-attestation-registry/verax-sdk": "1.6.0",
"@verax-attestation-registry/verax-sdk": "1.7.1",
"@wagmi/core": "^1.4.7",
"abitype": "^0.10.3",
"class-variance-authority": "^0.7.0",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@verax-attestation-registry/verax-sdk",
"version": "1.7.1",
"version": "1.7.2",
"description": "Verax Attestation Registry SDK to interact with the subgraph and the contracts",
"keywords": [
"linea-attestation-registry",
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/VeraxSdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class VeraxSdk {
static DEFAULT_LINEA_SEPOLIA: Conf = {
chain: lineaSepolia,
mode: SDKMode.BACKEND,
subgraphUrl: "https://api.studio.thegraph.com/query/67521/verax-v1-linea-sepolia/v0.0.1",
subgraphUrl: "https://api.studio.thegraph.com/query/67521/verax-v1-linea-sepolia/v0.0.2",
portalRegistryAddress: "0xF35fe79104e157703dbCC3Baa72a81A99591744D",
moduleRegistryAddress: "0x3C443B9f0c8ed3A3270De7A4815487BA3223C2Fa",
schemaRegistryAddress: "0x90b8542d7288a83EC887229A7C727989C3b56209",
Expand Down
2 changes: 1 addition & 1 deletion subgraph/src/attestation-registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ function valueToString(value: ethereum.Value): string {
case ethereum.ValueKind.FIXED_BYTES:
return value.toBytes().toHexString().toLowerCase();
case ethereum.ValueKind.BYTES:
return value.toString();
return value.toBytes().toString();
case ethereum.ValueKind.INT:
return value.toBigInt().toHexString();
case ethereum.ValueKind.UINT:
Expand Down

0 comments on commit 17d6e5e

Please sign in to comment.