Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: arbitrum sepolia deployment #3

Merged
merged 5 commits into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions networks.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
{
"arbitrum": {
"SubgraphAvailabilityManager": {
"address": "0x1cB555359319A94280aCf85372Ac2323AaE2f5fd",
"startBlock": 223974980
},
"SAODataEdge": {
"address": "0xeD16cEbd4fa74a0016E1149cc03563Db4B223aec",
"startBlock": 223927924
}
},
"arbitrum-sepolia": {
"SubgraphAvailabilityManager": {
"address": "0x9bDC3264596850E7F5d141A8D898dFA7001355CC",
"startBlock": 22552633
"address": "0x71D9aE967d1f31fbbD1817150902de78f8f2f73E",
"startBlock": 49584061
},
"SAODataEdge": {
"address": "0xB61AF143c79Cbdd68f179B657AaC86665CC2B469",
"startBlock": 25463619
"startBlock": 49584061
Maikol marked this conversation as resolved.
Show resolved Hide resolved
}
}
}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
"create-local": "graph create --node http://localhost:8020/ network-monitoring-subgraph",
"remove-local": "graph remove --node http://localhost:8020/ network-monitoring-subgraph",
"deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 network-monitoring-subgraph",
"test": "yarn && yarn prep:test && yarn codegen && graph test",
"prep:test": "mustache ./config/test.json subgraph.template.yaml > subgraph.yaml"
"test": "yarn && yarn codegen && graph test",
"deploy-arbitrum-sepolia": "yarn && yarn codegen && graph build --network arbitrum-sepolia && graph deploy --studio graph-monitoring-arb-sepolia",
"deploy-arbitrum": "yarn && yarn codegen && graph build --network arbitrum && graph deploy --studio graph-monitoring-arbitrum"
},
"dependencies": {
"@graphprotocol/graph-cli": "0.71.0",
Expand Down
6 changes: 3 additions & 3 deletions subgraph.template.yaml → subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ dataSources:
network: arbitrum-sepolia
source:
abi: SubgraphAvailabilityManager
address: "0x9bDC3264596850E7F5d141A8D898dFA7001355CC"
startBlock: 22552633
address: "0x71D9aE967d1f31fbbD1817150902de78f8f2f73E"
startBlock: 49584061
mapping:
kind: ethereum/events
apiVersion: 0.0.7
Expand All @@ -34,7 +34,7 @@ dataSources:
source:
address: "0xB61AF143c79Cbdd68f179B657AaC86665CC2B469"
abi: SAODataEdge
startBlock: 25463619
startBlock: 49584061
mapping:
kind: ethereum/events
apiVersion: 0.0.7
Expand Down
Loading