Skip to content

Commit

Permalink
convert registrationNeeded to lower case for comparison and redeploy …
Browse files Browse the repository at this point in the history
…subgraph
  • Loading branch information
portuu3 committed Oct 21, 2024
1 parent 7df9139 commit 6fd0d57
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class OrderDirection(Enum):
"https://api.studio.thegraph.com/query/74256/amoy/version/latest"
),
"subgraph_url_api_key": (
"https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/QmTr36yFKi7M1fyfDKeVTfQD4YFkhXTqe3bMoRJ4xQbmMT"
"https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/Qmbwio5UnvDn5GQRJ5kLJfK27fqHK9nkEh4YXXYKWCc9rH"
),
"hmt_address": "0x792abbcC99c01dbDec49c9fa9A828a186Da45C33",
"factory_address": "0xAFf5a986A530ff839d49325A5dF69F96627E8D29",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export const NETWORKS: {
subgraphUrl:
'https://api.studio.thegraph.com/query/74256/amoy/version/latest',
subgraphUrlApiKey:
'https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/QmTr36yFKi7M1fyfDKeVTfQD4YFkhXTqe3bMoRJ4xQbmMT',
'https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/Qmbwio5UnvDn5GQRJ5kLJfK27fqHK9nkEh4YXXYKWCc9rH',
oldSubgraphUrl: '',
oldFactoryAddress: '',
},
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/typescript/subgraph/src/mapping/KVStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export function handleDataSaved(event: DataSaved): void {
}
operator.save();
} else if (key == 'registration_needed') {
leader.registrationNeeded = event.params.value == 'true';
leader.registrationNeeded = event.params.value.toLowerCase() == 'true';
} else if (key == 'registration_instructions') {
leader.registrationInstructions = event.params.value;
}
Expand Down

0 comments on commit 6fd0d57

Please sign in to comment.