Skip to content

Commit d398b9f

Browse files
authored
Merge pull request #8 from graphprotocol/mde/updated-to-use-ethers-rs
fix: Updated to use ethers-rs
2 parents 127e9b7 + 6410b30 commit d398b9f

File tree

15 files changed

+2794
-9817
lines changed

15 files changed

+2794
-9817
lines changed

Cargo.lock

Lines changed: 2148 additions & 605 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,3 @@ members = [
33
"common",
44
"availability-oracle",
55
]
6-
7-
[patch.'https://github.com/graphprotocol/eip-712-derive']
8-
#eip-712-derive = { path = "../eip-712-derive" }
9-
10-
[patch.'https://github.com/graphprotocol/solidity-bindgen']
11-
#solidity-bindgen = { path = "../solidity-bindgen/solidity-bindgen" }

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,19 @@ The Subgraph Oracle verifies the availability of the subgraph files and does oth
33

44
```
55
USAGE:
6-
availability-oracle [FLAGS] [OPTIONS] --contracts <contracts> --ipfs <ipfs> --signing-key <signing-key> --subgraph <subgraph>
6+
availability-oracle [FLAGS] [OPTIONS] --rewards-manager-contract <rewards-manager-contract> \
7+
--url <url> --ipfs <ipfs> --signing-key <signing-key> --subgraph <subgraph>
78
89
FLAGS:
910
--dry-run log the results but not send a transaction to the rewards manager
1011
-h, --help Prints help information
1112
-V, --version Prints version information
1213
1314
OPTIONS:
14-
-c, --contracts <contracts>
15-
One of: `mainnet`, `goerli`, `arbitrum-one`, `arbitrum-goerli`, `ganache/mainnet`, `sepolia` or `arbitrum-sepolia`. See
16-
`common/src/contracts/config.rs` for the respective configurations [env: ORACLE_CONTRACTS=]
15+
--rewards-manager-contract <rewards-manager-contract>
16+
Address of the Graph Protocol RewardsManager contract [env: REWARDS_MANAGER_CONTRACT=]
17+
--url <url>
18+
RPC URL for EVM-compatible netwrok, must be a valid URL [env: RPC_URL=]
1719
--grace-period <grace-period>
1820
Grace period, in seconds from subgraph creation, for which subgraphs will not be checked [env:
1921
ORACLE_GRACE_PERIOD=] [default: 0]

availability-oracle/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ multibase = "0.8.0"
2727
moka = { version = "0.8", features = ["future"] }
2828
graphql-parser = "0.4.0"
2929
secp256k1 = "0.20.3"
30+
ethers = "2.0.10"
31+
url = "2.5.0"

0 commit comments

Comments
 (0)