Skip to content

Commit

Permalink
fix indexer
Browse files Browse the repository at this point in the history
  • Loading branch information
fewensa committed Aug 28, 2023
1 parent a1a20ae commit 5bfa2d5
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
11 changes: 11 additions & 0 deletions thegraph/ormpipe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,14 @@ adresses

ormp: https://github.com/darwinia-network/ORMP/tree/main/script/deploy/output
airnode: https://github.com/darwinia-oracle-dao/airnode-dapi/blob/main/bin/addr.json

## deploy


### deploy to thegraph studio

```
npm run deploy:studio \
-- ormpipe-arbitrum-goerli subgraph-arbitrum-goerli.yaml
```

8 changes: 4 additions & 4 deletions thegraph/ormpipe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"scripts": {
"codegen": "graph codegen",
"build": "graph build",
"deploy": "graph deploy --node https://api.studio.thegraph.com/deploy/ ormpipe-arbitrum-goerli",
"create-local": "graph create --node http://localhost:8020/ ormpipe-arbitrum-goerli",
"remove-local": "graph remove --node http://localhost:8020/ ormpipe-arbitrum-goerli",
"deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 ormpipe-arbitrum-goerli",
"deploy:studio": "graph deploy --node https://api.studio.thegraph.com/deploy/",
"create:darwinia": "graph create --node https://thegraph-g2.darwinia.network/ormpipe/deploy/",
"remove:darwinia": "graph remove --node https://thegraph-g2.darwinia.network/ormpipe/deploy/",
"deploy:darwinia": "graph deploy --node https://thegraph-g2.darwinia.network/ormpipe/deploy/ --ipfs http://g2.generic.darwinia.network:5001/",
"test": "graph test"
},
"dependencies": {
Expand Down
8 changes: 4 additions & 4 deletions thegraph/ormpipe/subgraph-pangolin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dataSources:
source:
address: "0x770713580e5c618A4D29D7E8c0d7604276B63832"
abi: AirnodeDapi
startBlock: 34570517
startBlock: 1241900
mapping:
kind: ethereum/events
apiVersion: 0.0.7
Expand Down Expand Up @@ -40,7 +40,7 @@ dataSources:
source:
address: "0x00000012f877F68a8D2410b683FDC8214f4b5194"
abi: OrmpOracle
startBlock: 35033799
startBlock: 1241900
mapping:
kind: ethereum/events
apiVersion: 0.0.7
Expand Down Expand Up @@ -69,7 +69,7 @@ dataSources:
source:
address: "0x000000fbfBc6954C8CBba3130b5Aee7f3Ea5108e"
abi: OrmpRelayer
startBlock: 35033836
startBlock: 1241900
mapping:
kind: ethereum/events
apiVersion: 0.0.7
Expand Down Expand Up @@ -98,7 +98,7 @@ dataSources:
source:
address: "0x00000000fec9f746a2138D9C6f42794236f3aca8"
abi: OrmpProtocol
startBlock: 35033761
startBlock: 1241900
mapping:
kind: ethereum/events
apiVersion: 0.0.7
Expand Down

0 comments on commit 5bfa2d5

Please sign in to comment.