Skip to content

Commit

Permalink
Merge pull request #54 from datachainlab/update-lcp-v0211
Browse files Browse the repository at this point in the history
Bump lcp to v0.2.11

Signed-off-by: Jun Kimura <[email protected]>
  • Loading branch information
bluele authored Sep 23, 2024
2 parents d2e93fb + 60d5085 commit dac54b2
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 24 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: test
on: [push, pull_request]

on:
push:
branches:
- main
pull_request:

jobs:
e2e-test:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ This repository contains multiple modules:
## Supported Versions

- [ibc-solidity v0.3.37](https://github.com/hyperledger-labs/yui-ibc-solidity/releases/tag/v0.3.37)
- [lcp v0.2.10](https://github.com/datachainlab/lcp/releases/tag/v0.2.10)
- [ethereum-elc v0.0.17](https://github.com/datachainlab/ethereum-elc/releases/tag/v0.0.17)
- [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)
- [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)
Expand Down
35 changes: 18 additions & 17 deletions enclave/Cargo.lock

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

6 changes: 3 additions & 3 deletions enclave/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ name = "proxy_enclave"
crate-type = ["staticlib"]

[dependencies]
enclave-runtime = { git = "https://github.com/datachainlab/lcp", rev = "v0.2.10" }
tendermint-lc = { git = "https://github.com/datachainlab/lcp", rev = "v0.2.10", default-features = false }
ethereum-elc = { git = "https://github.com/datachainlab/ethereum-elc", rev = "v0.0.17", default-features = false }
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 }

[patch."crates-io"]
getrandom = { git = "https://github.com/datachainlab/getrandom-sgx-lite" }
Expand Down
1 change: 1 addition & 0 deletions enclave/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ 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);
registry.seal().unwrap();
registry
}
2 changes: 1 addition & 1 deletion lcp
Submodule lcp updated 76 files
+2 −0 .github/workflows/test.yml
+5 −5 Cargo.lock
+1 −6 Cargo.toml
+17 −6 Makefile
+2 −4 app/Cargo.toml
+0 −21 app/build.rs
+2 −2 app/src/commands.rs
+1 −30 app/src/commands/attestation.rs
+1 −1 app/src/commands/elc.rs
+29 −6 app/src/commands/enclave.rs
+1 −1 app/src/commands/service.rs
+1 −1 app/src/enclave.rs
+2 −0 enclave-modules/.gitignore
+9 −0 enclave-modules/Cargo.toml
+13 −2 enclave-modules/ecall-handler/src/enclave_manage/enclave.rs
+0 −1 enclave-modules/ecall-handler/src/enclave_manage/mod.rs
+0 −23 enclave-modules/ecall-handler/src/enclave_manage/report.rs
+2 −11 enclave-modules/ecall-handler/src/enclave_manage/router.rs
+14 −8 enclave-modules/ecall-handler/src/light_client/init_client.rs
+1 −0 enclave-modules/ecall-handler/src/light_client/registry.rs
+1 −1 enclave-modules/ecall-handler/src/light_client/update_client.rs
+1 −1 enclave-modules/ecall-handler/src/router.rs
+5 −0 enclave-modules/environment/src/environment_impl.rs
+5 −0 enclave-modules/host-api/Cargo.toml
+68 −0 enclave-modules/host-api/src/api.rs
+1 −1 enclave-modules/host-api/src/lib.rs
+12 −2 enclave-modules/runtime/src/ecalls.rs
+9 −4 enclave-modules/runtime/src/lib.rs
+1 −12 enclave-modules/utils/src/pointers.rs
+1 −0 enclave/Cargo.lock
+1 −0 enclave/src/lib.rs
+1 −1 modules/attestation-report/src/lib.rs
+21 −7 modules/attestation-report/src/report.rs
+2 −2 modules/attestation-report/src/verification.rs
+1 −1 modules/ecall-commands/src/commands.rs
+4 −23 modules/ecall-commands/src/enclave_manage.rs
+2 −3 modules/ecall-commands/src/lib.rs
+0 −42 modules/ecall-commands/src/transmuter.rs
+4 −2 modules/enclave-api/Cargo.toml
+22 −0 modules/enclave-api/build.rs
+4 −19 modules/enclave-api/src/api/command.rs
+1 −1 modules/enclave-api/src/lib.rs
+2 −2 modules/host-environment/Cargo.toml
+2 −2 modules/host-environment/src/lib.rs
+8 −2 modules/host/Cargo.toml
+40 −0 modules/host/build.rs
+2 −0 modules/host/src/lib.rs
+40 −2 modules/host/src/ocalls.rs
+3 −0 modules/keymanager/Cargo.toml
+184 −83 modules/keymanager/src/lib.rs
+7 −7 modules/lcp-client/src/client_def.rs
+3 −3 modules/lcp-client/src/message.rs
+4 −0 modules/light-client/src/registry.rs
+13 −1 modules/ocall-commands/src/lib.rs
+6 −0 modules/ocall-commands/src/log.rs
+1 −1 modules/ocall-commands/src/store.rs
+7 −2 modules/ocall-handler/Cargo.toml
+3 −3 modules/ocall-handler/src/errors.rs
+1 −0 modules/ocall-handler/src/lib.rs
+1 −1 modules/ocall-handler/src/store.rs
+2 −2 modules/remote-attestation/Cargo.toml
+2 −5 modules/remote-attestation/build.rs
+9 −0 modules/remote-attestation/src/errors.rs
+13 −13 modules/remote-attestation/src/ias.rs
+19 −14 modules/remote-attestation/src/ias_simulation.rs
+6 −6 modules/remote-attestation/src/ias_utils.rs
+1 −1 modules/remote-attestation/src/lib.rs
+2 −2 modules/store/Cargo.toml
+5 −4 modules/store/src/host.rs
+1 −1 modules/store/src/lib.rs
+1 −0 modules/types/Cargo.toml
+4 −0 modules/types/src/lib.rs
+7 −1 modules/types/src/sgx.rs
+59 −0 modules/types/src/transmuter.rs
+0 −1 tests/integration/Cargo.toml
+74 −44 tests/integration/src/lib.rs

0 comments on commit dac54b2

Please sign in to comment.