Skip to content

Commit

Permalink
bump ethereum-elc to v0.0.19
Browse files Browse the repository at this point in the history
Signed-off-by: Jun Kimura <[email protected]>
  • Loading branch information
bluele committed Nov 6, 2024
1 parent fefd9ce commit 96b2439
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 22 deletions.
21 changes: 5 additions & 16 deletions enclave/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion enclave/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down
6 changes: 2 additions & 4 deletions enclave/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 96b2439

Please sign in to comment.