From 8aafd6d117786405bec66d981145bf2b22f9a352 Mon Sep 17 00:00:00 2001 From: Miguel de Elias Date: Wed, 13 Mar 2024 18:14:20 -0300 Subject: [PATCH] fix: change sepolia for arbitrum-sepolia --- .gitignore | 2 ++ networks.json | 6 +++--- subgraph.yaml | 36 ------------------------------------ 3 files changed, 5 insertions(+), 39 deletions(-) delete mode 100644 subgraph.yaml diff --git a/.gitignore b/.gitignore index 399e981..03a6238 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ # Ignore truffle stuff build/ +subgraph.yaml generated/ node_modules/ src/types/ @@ -12,3 +13,4 @@ config/addresses.ts config/generatedAddresses.json tests/.bin .vscode +.latest.json \ No newline at end of file diff --git a/networks.json b/networks.json index 8d585bd..7d17db8 100644 --- a/networks.json +++ b/networks.json @@ -1,8 +1,8 @@ { - "sepolia": { + "arbitrum-sepolia": { "SubgraphAvailabilityManager": { - "address": "0x0539C6995aC74eBCBa449D88fD947eeD2877bE34", - "startBlock": 5109718 + "address": "0x9bDC3264596850E7F5d141A8D898dFA7001355CC", + "startBlock": 22552633 } } } \ No newline at end of file diff --git a/subgraph.yaml b/subgraph.yaml deleted file mode 100644 index 41d38f1..0000000 --- a/subgraph.yaml +++ /dev/null @@ -1,36 +0,0 @@ -specVersion: 0.0.5 -schema: - file: ./schema.graphql -dataSources: - - kind: ethereum - name: SubgraphAvailabilityManager - network: sepolia - source: - address: "0x0539C6995aC74eBCBa449D88fD947eeD2877bE34" - abi: SubgraphAvailabilityManager - startBlock: 5109718 - mapping: - kind: ethereum/events - apiVersion: 0.0.7 - language: wasm/assemblyscript - entities: - - NewOwnership - - NewPendingOwnership - - OracleSet - - OracleVote - - VoteTimeLimitSet - abis: - - name: SubgraphAvailabilityManager - file: ./abis/SubgraphAvailabilityManager.json - eventHandlers: - - event: NewOwnership(indexed address,indexed address) - handler: handleNewOwnership - - event: NewPendingOwnership(indexed address,indexed address) - handler: handleNewPendingOwnership - - event: OracleSet(indexed uint256,indexed address) - handler: handleOracleSet - - event: OracleVote(indexed bytes32,bool,indexed uint256,uint256) - handler: handleOracleVote - - event: VoteTimeLimitSet(uint256) - handler: handleVoteTimeLimitSet - file: ./src/subgraph-availability-manager.ts