Skip to content

Commit 9ddb045

Browse files
authored
BEP-466 (#49)
1 parent b952e3e commit 9ddb045

24 files changed

+5350
-13302
lines changed

e2e/.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@ build
22
node_modules
33
testrly
44
.testrly
5-
*.log
5+
*.log
6+
cache
7+
addresses
8+
artifacts

e2e/chains/bsc/Dockerfile.bsc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.21-alpine
1+
FROM golang:1.23-alpine
22

33
ARG GIT_SOURCE
44
ARG GIT_CHECKOUT_BRANCH

e2e/chains/bsc/config/config-bsc-rpc.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ Lifetime = 600000000000
2727
Blocks = 20
2828
Percentile = 60
2929
OracleThreshold = 20
30-
Default = 5000000000
3130

3231
[Node]
3332
DataDir = "node"

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.4.16
8+
GIT_CHECKOUT_BRANCH: v1.5.5
99
image: bsc-geth:docker-local

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,20 @@
3333
"haberTime": 0,
3434
"haberFixTime": 0,
3535
"bohrTime": 0,
36+
"pascalTime": 0,
37+
"pragueTime": 0,
38+
"blobSchedule": {
39+
"cancun": {
40+
"target": 3,
41+
"max": 6,
42+
"baseFeeUpdateFraction": 3338477
43+
},
44+
"prague": {
45+
"target": 6,
46+
"max": 9,
47+
"baseFeeUpdateFraction": 5007716
48+
}
49+
},
3650
"parlia": {
3751
"period": 3,
3852
"epoch": {{BLOCKS_PER_EPOCH}}

e2e/config/demo/ibc-0.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"mnemonic": "math razor capable expose worth grape metal sunset metal sudden usage scheme",
1010
"path": "m/44'/60'/0'/0/0"
1111
},
12-
"ibc_address": "0x2F5703804E29F4252FA9405B8D357220d11b3bd9",
12+
"ibc_address": "0xaa43d337145E8930d01cb4E60Abf6595C692921E",
1313
"initial_send_checkpoint": 0,
1414
"initial_recv_checkpoint": 0,
1515
"enable_debug_trace": false,

e2e/config/demo/ibc-1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"mnemonic": "math razor capable expose worth grape metal sunset metal sudden usage scheme",
1010
"path": "m/44'/60'/0'/0/0"
1111
},
12-
"ibc_address": "0x2F5703804E29F4252FA9405B8D357220d11b3bd9",
12+
"ibc_address": "0xaa43d337145E8930d01cb4E60Abf6595C692921E",
1313
"initial_send_checkpoint": 0,
1414
"initial_recv_checkpoint": 0,
1515
"enable_debug_trace": false,

e2e/contracts/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
.PHONY:deploy
22
deploy:
33
npm i
4-
npx truffle migrate --network bsc_local2 --reset
5-
npx truffle migrate --network bsc_local --reset
4+
npx hardhat run ./scripts/deploy.js --network bsc_local1
5+
npx hardhat run ./scripts/deploy.js --network bsc_local2
66

77
.PHONY:test
88
test:
9-
npx truffle exec apps/send.js --network bsc_local2
9+
npx hardhat run ./scripts/send.js --network bsc_local2
1010
sleep 60
1111
../testrly tx relay ibc01 --home ../.testrly
1212
sleep 20
13-
npx truffle exec apps/recv.js --network bsc_local
13+
npx hardhat run ./scripts/recv.js --network bsc_local1
1414
sleep 20
1515
../testrly query unrelayed-packets ibc01 --home ../.testrly | grep '{"src":\[\],"dst":\[\]}'
1616
../testrly tx relay-acknowledgements ibc01 --home ../.testrly

e2e/contracts/apps/recv.js

Lines changed: 0 additions & 21 deletions
This file was deleted.

e2e/contracts/contracts/Migrations.sol

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)