diff --git a/README.md b/README.md index b81828e..96fb5b8 100644 --- a/README.md +++ b/README.md @@ -43,9 +43,9 @@ This repository contains multiple modules: ## Supported Versions - [ibc-solidity v0.3.28](https://github.com/hyperledger-labs/yui-ibc-solidity/releases/tag/v0.3.28) -- [lcp v0.2.7](https://github.com/datachainlab/lcp/releases/tag/v0.2.7) -- [ethereum-elc v0.0.11](https://github.com/datachainlab/ethereum-elc/releases/tag/v0.0.11) -- [lcp-go v0.2.2](https://github.com/datachainlab/lcp-go/releases/tag/v0.2.2) +- [lcp v0.2.8](https://github.com/datachainlab/lcp/releases/tag/v0.2.8) +- [ethereum-elc v0.0.12](https://github.com/datachainlab/ethereum-elc/releases/tag/v0.0.12) +- [lcp-go v0.2.4](https://github.com/datachainlab/lcp-go/releases/tag/v0.2.4) - [lcp-solidity v0.1.9](https://github.com/datachainlab/lcp-solidity/releases/tag/v0.1.9) - [yui-relayer v0.5.3](https://github.com/hyperledger-labs/yui-relayer/releases/tag/v0.5.3) - [ethereum-ibc-relay-chain v0.3.4](https://github.com/datachainlab/ethereum-ibc-relay-chain/releases/tag/v0.3.4) diff --git a/enclave/Cargo.lock b/enclave/Cargo.lock index 8556fb6..30ac342 100644 --- a/enclave/Cargo.lock +++ b/enclave/Cargo.lock @@ -101,7 +101,7 @@ checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" [[package]] name = "attestation-report" version = "0.1.0" -source = "git+https://github.com/datachainlab/lcp?rev=v0.2.7#a680eab14c9cb229fc24572978272dc8262f06b7" +source = "git+https://github.com/datachainlab/lcp?rev=v0.2.8#16fa999ccb49cc75365f49b624978616dc85c2c9" dependencies = [ "base64 0.21.2 (git+https://github.com/marshallpierce/rust-base64)", "chrono", @@ -305,7 +305,7 @@ dependencies = [ [[package]] name = "commitments" version = "0.1.0" -source = "git+https://github.com/datachainlab/lcp?rev=v0.2.7#a680eab14c9cb229fc24572978272dc8262f06b7" +source = "git+https://github.com/datachainlab/lcp?rev=v0.2.8#16fa999ccb49cc75365f49b624978616dc85c2c9" dependencies = [ "alloy-sol-types", "crypto", @@ -333,7 +333,7 @@ dependencies = [ [[package]] name = "context" version = "0.1.0" -source = "git+https://github.com/datachainlab/lcp?rev=v0.2.7#a680eab14c9cb229fc24572978272dc8262f06b7" +source = "git+https://github.com/datachainlab/lcp?rev=v0.2.8#16fa999ccb49cc75365f49b624978616dc85c2c9" dependencies = [ "crypto", "lcp-types", @@ -365,7 +365,7 @@ checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" [[package]] name = "crypto" version = "0.1.0" -source = "git+https://github.com/datachainlab/lcp?rev=v0.2.7#a680eab14c9cb229fc24572978272dc8262f06b7" +source = "git+https://github.com/datachainlab/lcp?rev=v0.2.8#16fa999ccb49cc75365f49b624978616dc85c2c9" dependencies = [ "flex-error", "hex", @@ -505,7 +505,7 @@ checksum = "bbfc4744c1b8f2a09adc0e55242f60b1af195d88596bd8700be74418c056c555" [[package]] name = "ecall-commands" version = "0.1.0" -source = "git+https://github.com/datachainlab/lcp?rev=v0.2.7#a680eab14c9cb229fc24572978272dc8262f06b7" +source = "git+https://github.com/datachainlab/lcp?rev=v0.2.8#16fa999ccb49cc75365f49b624978616dc85c2c9" dependencies = [ "attestation-report", "commitments", @@ -519,7 +519,7 @@ dependencies = [ [[package]] name = "ecall-handler" version = "0.1.0" -source = "git+https://github.com/datachainlab/lcp?rev=v0.2.7#a680eab14c9cb229fc24572978272dc8262f06b7" +source = "git+https://github.com/datachainlab/lcp?rev=v0.2.8#16fa999ccb49cc75365f49b624978616dc85c2c9" dependencies = [ "attestation-report", "context", @@ -577,7 +577,7 @@ dependencies = [ [[package]] name = "enclave-environment" version = "0.1.0" -source = "git+https://github.com/datachainlab/lcp?rev=v0.2.7#a680eab14c9cb229fc24572978272dc8262f06b7" +source = "git+https://github.com/datachainlab/lcp?rev=v0.2.8#16fa999ccb49cc75365f49b624978616dc85c2c9" dependencies = [ "host-api", "light-client", @@ -587,7 +587,7 @@ dependencies = [ [[package]] name = "enclave-remote-attestation" version = "0.1.0" -source = "git+https://github.com/datachainlab/lcp?rev=v0.2.7#a680eab14c9cb229fc24572978272dc8262f06b7" +source = "git+https://github.com/datachainlab/lcp?rev=v0.2.8#16fa999ccb49cc75365f49b624978616dc85c2c9" dependencies = [ "attestation-report", "base64 0.21.2 (git+https://github.com/marshallpierce/rust-base64)", @@ -612,7 +612,7 @@ dependencies = [ [[package]] name = "enclave-runtime" version = "0.1.0" -source = "git+https://github.com/datachainlab/lcp?rev=v0.2.7#a680eab14c9cb229fc24572978272dc8262f06b7" +source = "git+https://github.com/datachainlab/lcp?rev=v0.2.8#16fa999ccb49cc75365f49b624978616dc85c2c9" dependencies = [ "bincode", "ecall-commands", @@ -629,7 +629,7 @@ dependencies = [ [[package]] name = "enclave-utils" version = "0.1.0" -source = "git+https://github.com/datachainlab/lcp?rev=v0.2.7#a680eab14c9cb229fc24572978272dc8262f06b7" +source = "git+https://github.com/datachainlab/lcp?rev=v0.2.8#16fa999ccb49cc75365f49b624978616dc85c2c9" dependencies = [ "log 0.4.20", "sgx_trts", @@ -670,7 +670,7 @@ dependencies = [ [[package]] name = "ethereum-elc" version = "0.1.0" -source = "git+https://github.com/datachainlab/ethereum-elc?rev=v0.0.11#00d7e42b011caf0f70aa720837fa120a4d3d5d8b" +source = "git+https://github.com/datachainlab/ethereum-elc?rev=v0.0.12#027fd870cd4e147b7e50aee960392ad6b23c35d3" dependencies = [ "displaydoc", "ethereum-ibc", @@ -933,7 +933,7 @@ dependencies = [ [[package]] name = "host-api" version = "0.1.0" -source = "git+https://github.com/datachainlab/lcp?rev=v0.2.7#a680eab14c9cb229fc24572978272dc8262f06b7" +source = "git+https://github.com/datachainlab/lcp?rev=v0.2.8#16fa999ccb49cc75365f49b624978616dc85c2c9" dependencies = [ "bincode", "flex-error", @@ -1092,7 +1092,7 @@ dependencies = [ [[package]] name = "lcp-proto" version = "0.1.0" -source = "git+https://github.com/datachainlab/lcp?rev=v0.2.7#a680eab14c9cb229fc24572978272dc8262f06b7" +source = "git+https://github.com/datachainlab/lcp?rev=v0.2.8#16fa999ccb49cc75365f49b624978616dc85c2c9" dependencies = [ "ibc-proto", "prost", @@ -1102,7 +1102,7 @@ dependencies = [ [[package]] name = "lcp-types" version = "0.1.0" -source = "git+https://github.com/datachainlab/lcp?rev=v0.2.7#a680eab14c9cb229fc24572978272dc8262f06b7" +source = "git+https://github.com/datachainlab/lcp?rev=v0.2.8#16fa999ccb49cc75365f49b624978616dc85c2c9" dependencies = [ "flex-error", "hex", @@ -1178,7 +1178,7 @@ dependencies = [ [[package]] name = "light-client" version = "0.1.0" -source = "git+https://github.com/datachainlab/lcp?rev=v0.2.7#a680eab14c9cb229fc24572978272dc8262f06b7" +source = "git+https://github.com/datachainlab/lcp?rev=v0.2.8#16fa999ccb49cc75365f49b624978616dc85c2c9" dependencies = [ "bincode", "commitments", @@ -1277,7 +1277,7 @@ dependencies = [ [[package]] name = "ocall-commands" version = "0.1.0" -source = "git+https://github.com/datachainlab/lcp?rev=v0.2.7#a680eab14c9cb229fc24572978272dc8262f06b7" +source = "git+https://github.com/datachainlab/lcp?rev=v0.2.8#16fa999ccb49cc75365f49b624978616dc85c2c9" dependencies = [ "serde", "serde_with", @@ -2031,7 +2031,7 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "store" version = "0.1.0" -source = "git+https://github.com/datachainlab/lcp?rev=v0.2.7#a680eab14c9cb229fc24572978272dc8262f06b7" +source = "git+https://github.com/datachainlab/lcp?rev=v0.2.8#16fa999ccb49cc75365f49b624978616dc85c2c9" dependencies = [ "flex-error", "log 0.4.20", @@ -2149,7 +2149,7 @@ dependencies = [ [[package]] name = "tendermint-lc" version = "0.1.0" -source = "git+https://github.com/datachainlab/lcp?rev=v0.2.7#a680eab14c9cb229fc24572978272dc8262f06b7" +source = "git+https://github.com/datachainlab/lcp?rev=v0.2.8#16fa999ccb49cc75365f49b624978616dc85c2c9" dependencies = [ "crypto", "flex-error", diff --git a/enclave/Cargo.toml b/enclave/Cargo.toml index f089af7..93d6358 100644 --- a/enclave/Cargo.toml +++ b/enclave/Cargo.toml @@ -21,9 +21,9 @@ sgx-sw = [ log = { version = "0.4.8", default-features = false } simple_logger = { git = "https://github.com/bluele/rust-simple_logger", branch = "sgx", default-features = false, features = ["sgx"] } -enclave-runtime = { git = "https://github.com/datachainlab/lcp", rev = "v0.2.7" } -tendermint-lc = { git = "https://github.com/datachainlab/lcp", rev = "v0.2.7", default-features = false } -ethereum-elc = { git = "https://github.com/datachainlab/ethereum-elc", rev = "v0.0.11", default-features = false } +enclave-runtime = { git = "https://github.com/datachainlab/lcp", rev = "v0.2.8" } +tendermint-lc = { git = "https://github.com/datachainlab/lcp", rev = "v0.2.8", default-features = false } +ethereum-elc = { git = "https://github.com/datachainlab/ethereum-elc", rev = "v0.0.12", default-features = false } [patch."https://github.com/apache/teaclave-sgx-sdk.git"] sgx_tstd = { rev = "v1.1.6", git = "https://github.com/apache/incubator-teaclave-sgx-sdk" } diff --git a/go.mod b/go.mod index e5af6a3..d4fed43 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.21 require ( github.com/datachainlab/ethereum-ibc-relay-chain v0.3.4 github.com/datachainlab/ethereum-ibc-relay-prover v0.3.0 - github.com/datachainlab/lcp-go v0.2.3 + github.com/datachainlab/lcp-go v0.2.4 github.com/hyperledger-labs/yui-relayer v0.5.3 ) diff --git a/go.sum b/go.sum index 7c5e6eb..c412b49 100644 --- a/go.sum +++ b/go.sum @@ -434,8 +434,8 @@ github.com/datachainlab/ethereum-ibc-relay-chain v0.3.4 h1:2mbvy6W/lm11SeQBgj110 github.com/datachainlab/ethereum-ibc-relay-chain v0.3.4/go.mod h1:PdSsegkRJiMWVGq+afDtXKRKg4p8hnmR1Yj5BgXkit0= github.com/datachainlab/ethereum-ibc-relay-prover v0.3.0 h1:2gAoULm+kF9JZLNImkxLI7TCfBstfKrm4/leU6d1CR4= github.com/datachainlab/ethereum-ibc-relay-prover v0.3.0/go.mod h1:OfuufukSThjjZXQtFyZqwY9csQNrJ/wIm0VLAUw3l4g= -github.com/datachainlab/lcp-go v0.2.3 h1:600dUVtFOMi3GhfBVo7RjuaQ7NSTFPJ7e/y9HdUBejk= -github.com/datachainlab/lcp-go v0.2.3/go.mod h1:pJR9B0YzFwRLzTh0TQPvTojdGSJbAVla8UUFNwjcOpg= +github.com/datachainlab/lcp-go v0.2.4 h1:o2Ukt4EHrOoJFpIw5eXYpCt0gYjaIO+cfA3S+TYiJUI= +github.com/datachainlab/lcp-go v0.2.4/go.mod h1:pJR9B0YzFwRLzTh0TQPvTojdGSJbAVla8UUFNwjcOpg= github.com/davecgh/go-spew v0.0.0-20171005155431-ecdeabc65495/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= diff --git a/tests/e2e/cases/tm2eth/scripts/restore b/tests/e2e/cases/tm2eth/scripts/restore index bab5b1b..ea37127 100755 --- a/tests/e2e/cases/tm2eth/scripts/restore +++ b/tests/e2e/cases/tm2eth/scripts/restore @@ -3,8 +3,8 @@ set -eux RLY="${RLY_BIN} --debug" -${RLY} lcp restore-elc-state ibc01 --src=false -${RLY} lcp restore-elc-state ibc01 --src=true +${RLY} lcp restore-elc ibc01 --src=false +${RLY} lcp restore-elc ibc01 --src=true ${RLY} lcp remove-eki ibc01 --src=false ${RLY} lcp remove-eki ibc01 --src=true