diff --git a/enclave/Cargo.lock b/enclave/Cargo.lock index 6214595..29a48fc 100644 --- a/enclave/Cargo.lock +++ b/enclave/Cargo.lock @@ -587,13 +587,12 @@ dependencies = [ [[package]] name = "ethereum-consensus" version = "0.1.0" -source = "git+https://github.com/datachainlab/ethereum-light-client-rs?rev=186c5b1d9935f15428ca8b209ad99ed20eaf81c6#186c5b1d9935f15428ca8b209ad99ed20eaf81c6" +source = "git+https://github.com/datachainlab/ethereum-light-client-rs?rev=v0.1.4#8ef10cf5982d28cb9d71b126ca41d364dda18788" dependencies = [ "displaydoc", "hex", "milagro_bls", "primitive-types", - "rs_merkle", "serde", "sha2 0.10.6", "ssz-rs", @@ -603,7 +602,7 @@ dependencies = [ [[package]] name = "ethereum-elc" version = "0.1.0" -source = "git+https://github.com/datachainlab/ethereum-elc?rev=v0.0.18#7ca39c0a5b7a4bf97aa193aa94cd00bb06c98d92" +source = "git+https://github.com/datachainlab/ethereum-elc?rev=v0.0.19#8136ce801b30b391a6d4cd319f6c5a30bcea2527" dependencies = [ "displaydoc", "ethereum-ibc", @@ -616,7 +615,7 @@ dependencies = [ [[package]] name = "ethereum-ibc" version = "0.1.0" -source = "git+https://github.com/datachainlab/ethereum-ibc-rs?rev=v0.0.12#50790b532a0abb8d2310c03ff24c217ba27e103d" +source = "git+https://github.com/datachainlab/ethereum-ibc-rs?rev=v0.0.15#d652f330f24d638720cbed03099f3df7ae2d5b30" dependencies = [ "bytes", "displaydoc", @@ -636,7 +635,7 @@ dependencies = [ [[package]] name = "ethereum-ibc-proto" version = "0.1.0" -source = "git+https://github.com/datachainlab/ethereum-ibc-rs?rev=v0.0.12#50790b532a0abb8d2310c03ff24c217ba27e103d" +source = "git+https://github.com/datachainlab/ethereum-ibc-rs?rev=v0.0.15#d652f330f24d638720cbed03099f3df7ae2d5b30" dependencies = [ "prost", "serde", @@ -645,11 +644,10 @@ dependencies = [ [[package]] name = "ethereum-light-client-verifier" version = "0.1.0" -source = "git+https://github.com/datachainlab/ethereum-light-client-rs?rev=186c5b1d9935f15428ca8b209ad99ed20eaf81c6#186c5b1d9935f15428ca8b209ad99ed20eaf81c6" +source = "git+https://github.com/datachainlab/ethereum-light-client-rs?rev=v0.1.4#8ef10cf5982d28cb9d71b126ca41d364dda18788" dependencies = [ "displaydoc", "ethereum-consensus", - "log", "patricia-merkle-trie", "primitive-types", "rlp", @@ -1483,15 +1481,6 @@ dependencies = [ "rustc-hex", ] -[[package]] -name = "rs_merkle" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b241d2e59b74ef9e98d94c78c47623d04c8392abaf82014dfd372a16041128f" -dependencies = [ - "sha2 0.10.6", -] - [[package]] name = "ruint" version = "1.11.1" diff --git a/enclave/Cargo.toml b/enclave/Cargo.toml index db16c99..62bc3eb 100644 --- a/enclave/Cargo.toml +++ b/enclave/Cargo.toml @@ -11,7 +11,7 @@ crate-type = ["staticlib"] [dependencies] enclave-runtime = { git = "https://github.com/datachainlab/lcp", rev = "v0.2.11" } tendermint-lc = { git = "https://github.com/datachainlab/lcp", rev = "v0.2.11", default-features = false } -ethereum-elc = { git = "https://github.com/datachainlab/ethereum-elc", rev = "v0.0.18", default-features = false } +ethereum-elc = { git = "https://github.com/datachainlab/ethereum-elc", rev = "v0.0.19", default-features = false } [patch."crates-io"] getrandom = { git = "https://github.com/datachainlab/getrandom-sgx-lite" } diff --git a/enclave/src/lib.rs b/enclave/src/lib.rs index 199e6bb..92d934f 100644 --- a/enclave/src/lib.rs +++ b/enclave/src/lib.rs @@ -5,14 +5,12 @@ use enclave_runtime::{setup_runtime, Environment, MapLightClientRegistry}; // NOTE: You must use `preset::mainnet` instead of `preset::minimal` in testnets(goerli,sepolia,holesky) or mainnet. use ethereum_elc::ibc::consensus::preset::minimal::PRESET; -setup_runtime!({ - Environment::new(build_lc_registry()) -}); +setup_runtime!({ Environment::new(build_lc_registry()) }); fn build_lc_registry() -> MapLightClientRegistry { let mut registry = MapLightClientRegistry::new(); tendermint_lc::register_implementations(&mut registry); - ethereum_elc::register_deneb_implementations::<{ PRESET.SYNC_COMMITTEE_SIZE }>(&mut registry); + ethereum_elc::register_implementations::<{ PRESET.SYNC_COMMITTEE_SIZE }>(&mut registry); registry.seal().unwrap(); registry } diff --git a/go.mod b/go.mod index 4406f5c..388bccf 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/datachainlab/ethereum-ibc-relay-chain v0.3.10 - github.com/datachainlab/ethereum-ibc-relay-prover v0.3.2 + github.com/datachainlab/ethereum-ibc-relay-prover v0.3.4 github.com/datachainlab/ibc-hd-signer v0.1.0 github.com/datachainlab/lcp-go v0.2.10 github.com/hyperledger-labs/yui-relayer v0.5.8