From 81794299de49c2fc3cce5a65d34b79770fe62b73 Mon Sep 17 00:00:00 2001 From: wenyuanhust Date: Tue, 31 Oct 2023 14:07:16 +0800 Subject: [PATCH] feat: update dependency from local to git --- Cargo.lock | 6 ++++++ crates/relayer-storage/Cargo.toml | 3 ++- crates/relayer-types/Cargo.toml | 4 ++-- crates/relayer/Cargo.toml | 7 ++++--- tools/forcerelay-test/Cargo.toml | 3 ++- tools/ibc-test/Cargo.toml | 3 ++- 6 files changed, 18 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 926f0cb68..5d39197d5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -353,6 +353,7 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "axon-protocol" version = "0.1.0" +source = "git+https://github.com/wenyuanhust/axon.git?branch=forcerelay0#f76495be730fb469e734beab813e32e385852aa2" dependencies = [ "arc-swap", "async-trait", @@ -389,6 +390,7 @@ dependencies = [ [[package]] name = "axon-tools" version = "0.1.1" +source = "git+https://github.com/wenyuanhust/axon.git?branch=forcerelay0#f76495be730fb469e734beab813e32e385852aa2" dependencies = [ "axon-protocol", "bit-vec", @@ -1657,6 +1659,7 @@ checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" [[package]] name = "common-crypto" version = "0.2.1" +source = "git+https://github.com/wenyuanhust/axon.git?branch=forcerelay0#f76495be730fb469e734beab813e32e385852aa2" dependencies = [ "ophelia", "ophelia-blst", @@ -1666,6 +1669,7 @@ dependencies = [ [[package]] name = "common-hasher" version = "0.1.0" +source = "git+https://github.com/wenyuanhust/axon.git?branch=forcerelay0#f76495be730fb469e734beab813e32e385852aa2" dependencies = [ "tiny-keccak", ] @@ -2686,6 +2690,7 @@ dependencies = [ [[package]] name = "eth_light_client_in_ckb-verification" version = "0.2.1" +source = "git+https://github.com/wenyuanhust/eth-light-client-in-ckb.git?branch=v0.2.1#e5a28c7cf59882c7b0942b304677bca031e5a931" dependencies = [ "ckb-merkle-mountain-range 0.6.0", "eth2_hashing 0.3.0 (git+https://github.com/synapseweb3/lighthouse?rev=2c246d6)", @@ -3231,6 +3236,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "forcerelay-ckb-sdk" version = "0.1.0" +source = "git+https://github.com/synapseweb3/forcerelay-ckb-sdk?branch=ckb-0.111#096ed02333c631fec061847e60a759238c961eca" dependencies = [ "anyhow", "async-stream", diff --git a/crates/relayer-storage/Cargo.toml b/crates/relayer-storage/Cargo.toml index 920590d39..484dd2a6c 100644 --- a/crates/relayer-storage/Cargo.toml +++ b/crates/relayer-storage/Cargo.toml @@ -17,4 +17,5 @@ rocksdb = { package = "ckb-rocksdb", version ="=0.19.0", default-features = fals eth2_types = { git = "https://github.com/synapseweb3/lighthouse", rev = "2c246d6", package = "types" } # eth_light_client_in_ckb-verification = { version = "0.2.1", git = "https://github.com/synapseweb3/eth-light-client-in-ckb", tag = "v0.2.1" } # eth_light_client_in_ckb-verification = { version = "0.3.0-alpha", git = "https://github.com/synapseweb3/eth-light-client-in-ckb" } -eth_light_client_in_ckb-verification = { path = "/root/git/eth-light-client-in-ckb/verification", version = "0.2.1" } +# eth_light_client_in_ckb-verification = { path = "/root/git/eth-light-client-in-ckb/verification", version = "0.2.1" } +eth_light_client_in_ckb-verification = { git = "https://github.com/wenyuanhust/eth-light-client-in-ckb.git", version = "0.2.1", branch = "v0.2.1" } diff --git a/crates/relayer-types/Cargo.toml b/crates/relayer-types/Cargo.toml index cd3a411f3..d1fa45644 100644 --- a/crates/relayer-types/Cargo.toml +++ b/crates/relayer-types/Cargo.toml @@ -53,8 +53,8 @@ thiserror = "1.0" ethereum-types = "0.14.1" hex = "0.4" # axon-tools = { path = "/root/git/axon-tools/axon-tools", version = "0.1.1", features = ["impl-serde", "proof"] } -# axon-tools = { git = "https://github.com/wenyuanhust/axon.git", branch = "forcerelay-test", version = "0.1.1", features = ["impl-serde", "proof"] } -axon-tools = { path = "/root/git/axon/devtools/axon-tools", version = "0.1.1", features = ["impl-serde", "proof", "hex-deserialize"] } +axon-tools = { git = "https://github.com/wenyuanhust/axon.git", branch = "forcerelay0", package = "axon-tools", version = "0.1.1", features = ["impl-serde", "proof", "hex-deserialize"] } +# axon-tools = { path = "/root/git/axon/devtools/axon-tools", version = "0.1.1", features = ["impl-serde", "proof", "hex-deserialize"] } strum = { version = "0.24.1", features = ["derive"] } [dependencies.tendermint] diff --git a/crates/relayer/Cargo.toml b/crates/relayer/Cargo.toml index 644b3c9db..6696f9dfe 100644 --- a/crates/relayer/Cargo.toml +++ b/crates/relayer/Cargo.toml @@ -34,11 +34,12 @@ tree_hash = { git = "https://github.com/synapseweb3/lighthouse", rev = "2c246d6" # eth_light_client_in_ckb-verification = { version = "0.2.1", git = "https://github.com/synapseweb3/eth-light-client-in-ckb", tag = "v0.2.1" } # eth_light_client_in_ckb-prover = { version = "0.2.1", git = "https://github.com/synapseweb3/eth-light-client-in-ckb", tag = "v0.2.1" } -eth_light_client_in_ckb-verification = { path = "/root/git/eth-light-client-in-ckb/verification", version = "0.2.1" } +# eth_light_client_in_ckb-verification = { path = "/root/git/eth-light-client-in-ckb/verification", version = "0.2.1" } +eth_light_client_in_ckb-verification = { git = "https://github.com/wenyuanhust/eth-light-client-in-ckb.git", version = "0.2.1", branch = "v0.2.1" } eth_light_client_in_ckb-prover = { version = "0.3.0-alpha", git = "https://github.com/synapseweb3/eth-light-client-in-ckb" } # axon-tools = { path = "/root/git/axon-tools/axon-tools", version = "0.1.1", features = ["impl-serde", "proof"] } -# axon-tools = { git = "https://github.com/wenyuanhust/axon.git", branch = "forcerelay-test", version = "0.1.1", features = ["impl-serde", "proof", "hex-deserialize"] } -axon-tools = { path = "/root/git/axon/devtools/axon-tools", version = "0.1.1", features = ["impl-serde", "proof"] } +axon-tools = { git = "https://github.com/wenyuanhust/axon.git", branch = "forcerelay0", package = "axon-tools", version = "0.1.1", features = ["impl-serde", "proof"] } +# axon-tools = { path = "/root/git/axon/devtools/axon-tools", version = "0.1.1", features = ["impl-serde", "proof"] } subtle-encoding = "0.5" humantime-serde = "1.1.1" diff --git a/tools/forcerelay-test/Cargo.toml b/tools/forcerelay-test/Cargo.toml index 33f70e1c7..d4cfa743b 100644 --- a/tools/forcerelay-test/Cargo.toml +++ b/tools/forcerelay-test/Cargo.toml @@ -11,5 +11,6 @@ hex = "0.4" # eth_light_client_in_ckb-verification = { version = "0.3.0-alpha", git = "https://github.com/synapseweb3/eth-light-client-in-ckb" } # eth_light_client_in_ckb-verification = { version = "0.2.1", git = "https://github.com/synapseweb3/eth-light-client-in-ckb", tag = "v0.2.1" } -eth_light_client_in_ckb-verification = { path = "/root/git/eth-light-client-in-ckb/verification", version = "0.2.1" } +# eth_light_client_in_ckb-verification = { path = "/root/git/eth-light-client-in-ckb/verification", version = "0.2.1" } +eth_light_client_in_ckb-verification = { git = "https://github.com/wenyuanhust/eth-light-client-in-ckb.git", version = "0.2.1", branch = "v0.2.1" } relayer = { version = "*", package = "ibc-relayer", path = "../../crates/relayer" } diff --git a/tools/ibc-test/Cargo.toml b/tools/ibc-test/Cargo.toml index 42d95fded..57bf13bb9 100644 --- a/tools/ibc-test/Cargo.toml +++ b/tools/ibc-test/Cargo.toml @@ -46,7 +46,8 @@ lazy_static = "1.4.0" ethers = { version = "2.0.2", features = ["rustls", "ws"] } # forcerelay-ckb-sdk = { git = "https://github.com/synapseweb3/forcerelay-ckb-sdk", rev = "cd82be97" } -forcerelay-ckb-sdk = { path = "/root/git/forcerelay-ckb-sdk", version = "0.1.0" } +# forcerelay-ckb-sdk = { path = "/root/git/forcerelay-ckb-sdk", version = "0.1.0" } +forcerelay-ckb-sdk = { git = "https://github.com/synapseweb3/forcerelay-ckb-sdk", branch = "ckb-0.111" } [dependencies] bytes = "1.5.0"