Skip to content

Commit

Permalink
Subgraph updates for sepolia
Browse files Browse the repository at this point in the history
  • Loading branch information
emmdim committed Feb 14, 2024
1 parent 3ffb071 commit 5c25a19
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
13 changes: 13 additions & 0 deletions packages/subgraph/manifest/data/sepolia.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"info": "# Do not edit subgraph.yaml,this is a generated file. \n# Instead, edit subgraph.placeholder.yaml and run: yarn manifest",
"network": "sepolia",
"dataSources": {
"PluginSetupProcessors": [
{
"name": "PluginSetupProcessor",
"address": "0xb663C36d6fd959beeF2b82Bb40823660FEAaa55f",
"startBlock": 4421516
}
]
}
}
4 changes: 2 additions & 2 deletions packages/subgraph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
},
"devDependencies": {
"osx-ethersV120": "npm:@aragon/[email protected]",
"@graphprotocol/graph-cli": "^0.51.0",
"@graphprotocol/graph-ts": "^0.31.0",
"@graphprotocol/graph-cli": "^0.68.0",
"@graphprotocol/graph-ts": "^0.32.0",
"matchstick-as": "^0.5.2",
"mustache": "^4.2.0",
"ts-morph": "^17.0.1",
Expand Down
5 changes: 2 additions & 3 deletions packages/subgraph/scripts/deploy-subgraph.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,12 @@ then
--ipfs http://localhost:5001 \
--node http://localhost:8020
else
graph deploy $FULLNAME \
graph deploy --studio $FULLNAME \
--version-label $SUBGRAPH_VERSION \
--node https://app.satsuma.xyz/api/subgraphs/deploy \
--deploy-key $GRAPH_KEY > deploy-output.txt

SUBGRAPH_ID=$(grep "Build completed:" deploy-output.txt | grep -oE "Qm[a-zA-Z0-9]{44}")
rm deploy-output.txt
echo "The Graph deployment complete: ${SUBGRAPH_ID}"

fi
fi
2 changes: 1 addition & 1 deletion packages/subgraph/utils/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const ADDRESS_ZERO = '0x0000000000000000000000000000000000000000';

export const PLUGIN_INTERFACE = '0x11223344';
export const PLUGIN_REPO_ADDRESS = '0x98c60a356f03244f9c33c9ca224d960cd45fd2c1'; // make sure address are lowercased
export const PLUGIN_REPO_ADDRESS = '0xb663C36d6fd959beeF2b82Bb40823660FEAaa55f'; // make sure address are lowercased

0 comments on commit 5c25a19

Please sign in to comment.