Skip to content

Commit

Permalink
Merge pull request #57 from datachainlab/bump-ethereum-elc
Browse files Browse the repository at this point in the history
Bump ethereum-elc to v0.0.20

Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
  • Loading branch information
bluele authored Nov 7, 2024
2 parents fefd9ce + 7d55e1e commit 55411a1
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 27 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ This repository contains multiple modules:

- [ibc-solidity v0.3.38](https://github.com/hyperledger-labs/yui-ibc-solidity/releases/tag/v0.3.38)
- [lcp v0.2.11](https://github.com/datachainlab/lcp/releases/tag/v0.2.11)
- [ethereum-elc v0.0.18](https://github.com/datachainlab/ethereum-elc/releases/tag/v0.0.18)
- [ethereum-elc v0.0.20](https://github.com/datachainlab/ethereum-elc/releases/tag/v0.0.20)
- [lcp-go v0.2.10](https://github.com/datachainlab/lcp-go/releases/tag/v0.2.10)
- [lcp-solidity v0.1.15](https://github.com/datachainlab/lcp-solidity/releases/tag/v0.1.15)
- [yui-relayer v0.5.8](https://github.com/hyperledger-labs/yui-relayer/releases/tag/v0.5.8)
- [ethereum-ibc-relay-chain v0.3.10](https://github.com/datachainlab/ethereum-ibc-relay-chain/releases/tag/v0.3.10)
- [ethereum-ibc-relay-prover v0.3.2](https://github.com/datachainlab/ethereum-ibc-relay-prover/releases/tag/v0.3.2)
- [ethereum-ibc-relay-prover v0.3.4](https://github.com/datachainlab/ethereum-ibc-relay-prover/releases/tag/v0.3.4)

## Build enclave and run E2E test

Expand Down
22 changes: 5 additions & 17 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.20", 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
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,8 @@ github.com/danieljoos/wincred v1.1.2 h1:QLdCxFs1/Yl4zduvBdcHB8goaYk9RARS2SgLLRuA
github.com/danieljoos/wincred v1.1.2/go.mod h1:GijpziifJoIBfYh+S7BbkdUTU4LfM+QnGqR5Vl2tAx0=
github.com/datachainlab/ethereum-ibc-relay-chain v0.3.10 h1:ce7/EiUZDjTWGHr8VGwP8Maqqur0koxK2qCOLty6gJs=
github.com/datachainlab/ethereum-ibc-relay-chain v0.3.10/go.mod h1:7goF50HLpKyL6bmisyY7t9QV338WC+68GqGpaZ9Te24=
github.com/datachainlab/ethereum-ibc-relay-prover v0.3.2 h1:E1gWclbzDoPMkZNSq7p0ifWrOTfv+p2RZ+CsZjUOPD0=
github.com/datachainlab/ethereum-ibc-relay-prover v0.3.2/go.mod h1:OfuufukSThjjZXQtFyZqwY9csQNrJ/wIm0VLAUw3l4g=
github.com/datachainlab/ethereum-ibc-relay-prover v0.3.4 h1:v+3ubFZOgU1U+tihjsqRAtrDqK2P8ri2j8dJWVZKqpU=
github.com/datachainlab/ethereum-ibc-relay-prover v0.3.4/go.mod h1:OfuufukSThjjZXQtFyZqwY9csQNrJ/wIm0VLAUw3l4g=
github.com/datachainlab/ibc-hd-signer v0.1.0 h1:dmnFTAwFpl0m7Lx6+b+N/rrNpHQnXpyJAYnM25GhDi0=
github.com/datachainlab/ibc-hd-signer v0.1.0/go.mod h1:wUbLb2EryMCY+GfEsziU0T032Gch04jmrN0D4XGAfOI=
github.com/datachainlab/lcp-go v0.2.10 h1:1c8C+HR+tC/4NjCjpuz+Nkk3I/uIQ3PNRcvJKsSU948=
Expand Down

0 comments on commit 55411a1

Please sign in to comment.