diff --git a/networks.json b/networks.json index 7fb5973..d136b90 100644 --- a/networks.json +++ b/networks.json @@ -1,5 +1,5 @@ { - "arbitrum": { + "arbitrum-one": { "SubgraphAvailabilityManager": { "address": "0x1cB555359319A94280aCf85372Ac2323AaE2f5fd", "startBlock": 223974980 diff --git a/package.json b/package.json index d991f43..1445107 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 network-monitoring-subgraph", "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" + "deploy-arbitrum": "yarn && yarn codegen && graph build --network arbitrum-one && graph deploy --studio graph-monitoring-arbitrum" }, "dependencies": { "@graphprotocol/graph-cli": "0.71.0", diff --git a/subgraph.yaml b/subgraph.yaml index 53016c1..684343e 100644 --- a/subgraph.yaml +++ b/subgraph.yaml @@ -4,11 +4,11 @@ schema: dataSources: - kind: ethereum name: SubgraphAvailabilityManager - network: arbitrum-sepolia + network: arbitrum-one source: abi: SubgraphAvailabilityManager - address: "0x71D9aE967d1f31fbbD1817150902de78f8f2f73E" - startBlock: 49584061 + address: "0x1cB555359319A94280aCf85372Ac2323AaE2f5fd" + startBlock: 223974980 mapping: kind: ethereum/events apiVersion: 0.0.7 @@ -30,11 +30,11 @@ dataSources: file: ./src/subgraph-availability-manager.ts - kind: ethereum name: SAODataEdge - network: arbitrum-sepolia + network: arbitrum-one source: - address: "0xB61AF143c79Cbdd68f179B657AaC86665CC2B469" abi: SAODataEdge - startBlock: 49584061 + address: "0xeD16cEbd4fa74a0016E1149cc03563Db4B223aec" + startBlock: 223927924 mapping: kind: ethereum/events apiVersion: 0.0.7