Skip to content

Commit

Permalink
Problem: unreleased ethers dependency (#176)
Browse files Browse the repository at this point in the history
Solution: change to the ethers 1.0 version

* bump dockerfile to the latest rust stable

* regenerate abi files
  • Loading branch information
tomtau authored Dec 9, 2022
1 parent 52445f4 commit 6883d68
Show file tree
Hide file tree
Showing 15 changed files with 354 additions and 313 deletions.
420 changes: 230 additions & 190 deletions orchestrator/Cargo.lock

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions orchestrator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,3 @@ ethermint = [
"gorc/ethermint",
"register_delegate_keys/ethermint",
]

[patch.crates-io]
eth-keystore = { git = "https://github.com/crypto-org-chain/eth-keystore-rs.git", rev = "1e32f6f279c1878ce5be0750e5fd346e50f0fc12" }
2 changes: 1 addition & 1 deletion orchestrator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Reference: https://www.lpalmieri.com/posts/fast-rust-docker-builds/

FROM rust:1.58 as cargo-chef-rust
FROM rust:1.65 as cargo-chef-rust
RUN cargo install cargo-chef

FROM cargo-chef-rust as planner
Expand Down
2 changes: 1 addition & 1 deletion orchestrator/cosmos_gravity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ethereum_gravity = {path = "../ethereum_gravity"}
gravity_proto = {path = "../gravity_proto/"}

deep_space = { git = "https://github.com/crypto-org-chain/deep_space/", branch = "update/deps" }
ethers = { git = "https://github.com/gakonst/ethers-rs.git", branch = "master", features = ["abigen"] }
ethers = { version = "1", features = ["abigen"] }
thiserror = "1"
clarity = "0.4.11"
serde = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion orchestrator/ethereum_gravity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ gravity_utils = { path = "../gravity_utils" }
gravity_proto = { path = "../gravity_proto" }

deep_space = { git = "https://github.com/crypto-org-chain/deep_space/", branch = "update/deps" }
ethers = { git = "https://github.com/gakonst/ethers-rs.git", branch = "master", features = ["abigen"] }
ethers = { version = "1", features = ["abigen"] }
clarity = "0.4.11"
web30 = "0.15.4"
log = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion orchestrator/gorc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ orchestrator = { path = "../orchestrator" }
relayer = { path = "../relayer" }

deep_space = { git = "https://github.com/crypto-org-chain/deep_space/", branch = "update/deps" }
ethers = { git = "https://github.com/gakonst/ethers-rs.git", branch = "master", features = ["abigen"] }
ethers = { version = "1", features = ["abigen"] }
clarity = "0.4.12"
actix-rt = "2.5"
rpassword = "5"
Expand Down
2 changes: 1 addition & 1 deletion orchestrator/gravity_abi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
ethers = { git = "https://github.com/gakonst/ethers-rs.git", branch = "master", features = ["abigen"] }
ethers = { version = "1", features = ["abigen"] }
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0.69"
54 changes: 28 additions & 26 deletions orchestrator/gravity_abi/src/erc20.rs

Large diffs are not rendered by default.

168 changes: 85 additions & 83 deletions orchestrator/gravity_abi/src/gravity.rs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion orchestrator/gravity_abi_build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
ethers = { git = "https://github.com/gakonst/ethers-rs.git", branch = "master", features = ["abigen"] }
ethers = { version = "1", features = ["abigen"] }
serde_derive = "1.0"
serde_json = "1.0.69"
serde = "1.0"
2 changes: 1 addition & 1 deletion orchestrator/gravity_utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ gravity_abi = { path = "../gravity_abi" }
gravity_proto = { path = "../gravity_proto" }
cosmos-sdk-proto = "0.6.3"
deep_space = { git = "https://github.com/crypto-org-chain/deep_space/", branch = "update/deps" }
ethers = { git = "https://github.com/gakonst/ethers-rs.git", branch = "master", features = ["abigen"] }
ethers = { version = "1", features = ["abigen"] }
web30 = "0.15"
clarity = "0.4.11"
lazy_static = "1.4.0"
Expand Down
2 changes: 1 addition & 1 deletion orchestrator/orchestrator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ gravity_utils = { path = "../gravity_utils" }
gravity_proto = { path = "../gravity_proto" }

deep_space = { git = "https://github.com/crypto-org-chain/deep_space/", branch = "update/deps" }
ethers = { git = "https://github.com/gakonst/ethers-rs.git", branch = "master", features = ["abigen"] }
ethers = { version = "1", features = ["abigen"] }
serde_derive = "1.0"
clarity = "0.4.11"
docopt = "1"
Expand Down
2 changes: 1 addition & 1 deletion orchestrator/register_delegate_keys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ gravity_utils = {path = "../gravity_utils"}
gravity_proto = {path = "../gravity_proto/"}

deep_space = { git = "https://github.com/crypto-org-chain/deep_space/", branch = "update/deps" }
ethers = { git = "https://github.com/gakonst/ethers-rs.git", branch = "master", features = ["abigen"] }
ethers = { version = "1", features = ["abigen"] }
contact = "0.4"
serde_derive = "1.0"
clarity = "0.4.11"
Expand Down
2 changes: 1 addition & 1 deletion orchestrator/relayer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ gravity_utils = { path = "../gravity_utils" }
gravity_proto = { path = "../gravity_proto" }

deep_space = { git = "https://github.com/crypto-org-chain/deep_space/", branch = "update/deps" }
ethers = { git = "https://github.com/gakonst/ethers-rs.git", branch = "master", features = ["abigen"] }
ethers = { version = "1", features = ["abigen"] }
serde_derive = "1.0"
clarity = "0.4.11"
docopt = "1"
Expand Down
2 changes: 1 addition & 1 deletion orchestrator/test_runner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ deep_space = { git = "https://github.com/crypto-org-chain/deep_space/", branch =
serde_derive = "1.0"
clarity = "0.4.11"
docopt = "1"
ethers = { git = "https://github.com/gakonst/ethers-rs.git", branch = "master", features = ["abigen"] }
ethers = { version = "1", features = ["abigen"] }
serde = "1.0"
actix = "0.12"
actix-web = {version = "3", features=["openssl"]}
Expand Down

0 comments on commit 6883d68

Please sign in to comment.