Skip to content

Commit 7f71742

Browse files
authored
Support MaxwellHF / Fix Audit (#21)
1 parent d3e2f61 commit 7f71742

File tree

11 files changed

+21
-19
lines changed

11 files changed

+21
-19
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ This is a cross-chain messaging demo between Cosmos and BSC using IBC and LCP (L
55
## Supported Versions
66
- [ibc-solidity v0.3.40](https://github.com/hyperledger-labs/yui-ibc-solidity/releases/tag/v0.3.40)
77
- [lcp v0.2.12](https://github.com/datachainlab/lcp/releases/tag/v0.2.12)
8-
- [lcp-go v0.2.13](https://github.com/datachainlab/lcp-go/releases/tag/v0.2.13)
8+
- [lcp-go v0.2.15](https://github.com/datachainlab/lcp-go/releases/tag/v0.2.15)
99
- [lcp-solidity v0.1.17](https://github.com/datachainlab/lcp-solidity/releases/tag/v0.1.17)
10-
- [yui-relayer v0.5.10](https://github.com/hyperledger-labs/yui-relayer/releases/tag/v0.5.10)
11-
- [ethereum-ibc-relay-chain v0.3.13](https://github.com/datachainlab/ethereum-ibc-relay-chain/releases/tag/v0.3.13)
12-
- [parlia-elc v0.3.8-p1](https://github.com/datachainlab/parlia-elc/releases/tag/v0.3.8-p1)
13-
- [ibc-parlia-relay v0.3.9-p1](https://github.com/datachainlab/ibc-parlia-relay/releases/tag/v0.3.9-p1)
10+
- [yui-relayer v0.5.11](https://github.com/hyperledger-labs/yui-relayer/releases/tag/v0.5.11)
11+
- [ethereum-ibc-relay-chain v0.3.17](https://github.com/datachainlab/ethereum-ibc-relay-chain/releases/tag/v0.3.17)
12+
- [parlia-elc v0.3.10](https://github.com/datachainlab/parlia-elc/releases/tag/v0.3.10)
13+
- [ibc-parlia-relay v0.3.16-ts](https://github.com/datachainlab/ibc-parlia-relay/releases/tag/v0.3.16-ts)
1414

1515
## Pre-requisites
1616

enclave/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

enclave/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ crate-type = ["staticlib"]
1111
[dependencies]
1212
enclave-runtime = { git = "https://github.com/datachainlab/lcp", rev = "v0.2.12" }
1313
tendermint-lc = { git = "https://github.com/datachainlab/lcp", rev = "v0.2.12", default-features = false }
14-
parlia-elc = { git = "https://github.com/datachainlab/parlia-elc", rev = "v0.3.9", default-features = false }
14+
parlia-elc = { git = "https://github.com/datachainlab/parlia-elc", rev = "v0.3.10", default-features = false }
1515

1616
[patch."crates-io"]
1717
getrandom = { git = "https://github.com/datachainlab/getrandom-sgx-lite" }

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.22.0
55
require (
66
github.com/datachainlab/ethereum-ibc-relay-chain v0.3.17
77
github.com/datachainlab/ibc-hd-signer v0.1.2
8-
github.com/datachainlab/ibc-parlia-relay v0.3.13-ts
8+
github.com/datachainlab/ibc-parlia-relay v0.3.16-ts
99
github.com/datachainlab/lcp-go v0.2.15
1010
github.com/hyperledger-labs/yui-relayer v0.5.11
1111
)

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,8 +418,8 @@ github.com/datachainlab/ethereum-ibc-relay-chain v0.3.17 h1:oyDLIbc9hyp31c3OoIB5
418418
github.com/datachainlab/ethereum-ibc-relay-chain v0.3.17/go.mod h1:sf+ti1uM1joxhukxIyj8oDQ5yf7d+e+nl+3vtn9f5CM=
419419
github.com/datachainlab/ibc-hd-signer v0.1.2 h1:fWAYjMBVyM390OllX/l58mZYA7we0spEBFLYKWYTwfw=
420420
github.com/datachainlab/ibc-hd-signer v0.1.2/go.mod h1:nwH0Z3TK/7jbu/oInGGWGRimQ+LCn6yvDyjMZrw9mR4=
421-
github.com/datachainlab/ibc-parlia-relay v0.3.13-ts h1:Xm0kNgvbCGZduI9aF6pi/vocognjU21Rcm/39v82sRA=
422-
github.com/datachainlab/ibc-parlia-relay v0.3.13-ts/go.mod h1:YkqwnY+1CFEeRe3aQmg053YSSkXK0sTeX39GUNN83d0=
421+
github.com/datachainlab/ibc-parlia-relay v0.3.16-ts h1:yrwFNpOVQf3TK4napAaXbM+dg0EZqvpEjI4WkGFf66c=
422+
github.com/datachainlab/ibc-parlia-relay v0.3.16-ts/go.mod h1:YkqwnY+1CFEeRe3aQmg053YSSkXK0sTeX39GUNN83d0=
423423
github.com/datachainlab/lcp-go v0.2.15 h1:UOelDhvE0/2lzCjeBSFghUkBkq3YJhnQhaTf3EKSZNg=
424424
github.com/datachainlab/lcp-go v0.2.15/go.mod h1:AmdXcxocZ1/qH86GEHeQOxTozE+06lH3Fkgg+LsZJu0=
425425
github.com/davecgh/go-spew v0.0.0-20171005155431-ecdeabc65495/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=

tests/e2e/cases/tm2bsc/scripts/handshake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ retry 5 $RLY tx clients $PATH_NAME
3939
sleep 3
4040
retry 5 $RLY lcp activate-client $PATH_NAME --src=true
4141
# ensure finality checkpoint advance
42-
sleep 60
42+
sleep 500
4343
retry 20 $RLY lcp activate-client $PATH_NAME --src=false
4444

4545
retry 20 $RLY tx connection $PATH_NAME -o 20s

tests/e2e/chains/bsc/Dockerfile.bootstrap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM ghcr.io/foundry-rs/foundry:nightly-462b2ac6c038dc24b8f38b0c59b664d0740604c2
1+
FROM ghcr.io/foundry-rs/foundry:v0.3.0
22

3-
RUN apk add --d --no-cache ca-certificates npm nodejs bash alpine-sdk expect jq curl bash python3
3+
RUN apk add --d --no-cache npm nodejs bash alpine-sdk expect jq curl bash python3-dev py3-pip
44
RUN curl -sSL https://install.python-poetry.org | python3 -
55

66
RUN git clone https://github.com/bnb-chain/bsc-genesis-contract -b develop /root/genesis \
7-
&& cd /root/genesis && git checkout 44ebc6c17a00bd24db3240141a78091528dcebbb && npm ci
7+
&& cd /root/genesis && git checkout bf3ac733f8aaf93ed88ca0ad2dcddd051166e4e1 && npm ci
88

99
RUN cd /root/genesis && /root/.local/bin/poetry install
1010
RUN cd /root/genesis && forge install --no-git --no-commit foundry-rs/forge-std@v1.7.3

tests/e2e/chains/bsc/docker-compose.bsc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ services:
55
dockerfile: Dockerfile.bsc
66
args:
77
GIT_SOURCE: https://github.com/bnb-chain/bsc
8-
GIT_CHECKOUT_BRANCH: v1.5.9
8+
GIT_CHECKOUT_BRANCH: v1.5.13
99
image: bsc-geth:docker-local

tests/e2e/chains/bsc/genesis/genesis-template.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"pascalTime": 0,
3737
"pragueTime": 0,
3838
"lorentzTime": 0,
39+
"maxwellTime": 0,
3940
"blobSchedule": {
4041
"cancun": {
4142
"target": 3,

tests/e2e/chains/bsc/scripts/bootstrap.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ function generate_genesis() {
5656
echo "start generate process"
5757
/root/.local/bin/poetry run python3 scripts/generate.py dev
5858

59+
echo "move generate-dev.json to genesis.json"
60+
mv genesis-dev.json genesis.json
5961
}
6062

6163
function init_genesis_data() {

0 commit comments

Comments
 (0)