Skip to content

Commit 289b5e6

Browse files
authored
Merge pull request #75 from datachainlab/bump_1_16
1 parent ce22d3a commit 289b5e6

File tree

5 files changed

+9
-16
lines changed

5 files changed

+9
-16
lines changed

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.19-feature-SI
8+
GIT_CHECKOUT_BRANCH: v1.6.1-beta-feature-ScalableDB
99
image: bsc-geth:docker-local

e2e/chains/bsc/scripts/bootstrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function init_validator() {
2525
echo ${validatorAddr} >${workspace}/storage/${node_id}/address
2626

2727
# create new BLS vote address
28-
expect ${workspace}/scripts/create_bls_key.sh ${workspace}/storage/${node_id}
28+
${workspace}/scripts/create_bls_key.sh ${workspace}/storage/${node_id} ${workspace}/scripts/wallet_password.txt
2929
voteAddr=0x$(jq -r .pubkey ${workspace}/storage/${node_id}/bls/keystore/*json)
3030
echo $voteAddr
3131

e2e/chains/bsc/scripts/bsc-rpc.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ while [ "$i" -lt ${account_cnt} ]; do
1212
i=$((i + 1))
1313
done
1414

15+
HOST_IP=$(hostname -i)
16+
1517
ETHSTATS=""
1618
# Use exec to handle signals
1719
exec geth --config ${DATA_DIR}/config.toml --datadir ${DATA_DIR} --netrestrict ${CLUSTER_CIDR} \
1820
--state.scheme=hash --db.engine=leveldb --verbosity ${VERBOSE} --nousb ${ETHSTATS} \
19-
--unlock ${unlock_sequences} --password /dev/null --ipcpath /gethipc --override.fixedturnlength 2
21+
--unlock ${unlock_sequences} --password /dev/null --ipcpath /gethipc --override.fixedturnlength 2 -nat extip:${HOST_IP}

e2e/chains/bsc/scripts/bsc-validator.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ exec geth --config ${DATA_DIR}/config.toml --datadir ${DATA_DIR} --netrestrict $
1515
--verbosity ${VERBOSE} --nousb ${ETHSTATS} --state.scheme=hash --db.engine=leveldb \
1616
--bootnodes enode://${BOOTSTRAP_PUB_KEY}@${BOOTSTRAP_IP}:${BOOTSTRAP_TCP_PORT} \
1717
--mine --miner.etherbase=${VALIDATOR_ADDR} -unlock ${VALIDATOR_ADDR} --password /dev/null --blspassword /scripts/wallet_password.txt \
18-
--light.serve 50 --pprof.addr 0.0.0.0 --metrics \
18+
--pprof.addr 0.0.0.0 --metrics \
1919
--rpc.allow-unprotected-txs --history.transactions 15768000 \
20-
--pprof --ipcpath /gethipc --vote --override.fixedturnlength 2
20+
--pprof --ipcpath /gethipc --vote --override.fixedturnlength 2 --nat extip:${HOST_IP}

e2e/chains/bsc/scripts/create_bls_key.sh

100644100755
Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
#!/usr/bin/expect
2-
# 10 characters at least wanted
3-
set wallet_password 1234567890
1+
#!/usr/bin/bash
42

5-
set timeout 5
6-
sleep 10
7-
spawn geth bls account new --datadir [lindex $argv 0]
8-
expect "*assword:*"
9-
send "$wallet_password\r"
10-
expect "*assword:*"
11-
send "$wallet_password\r"
12-
expect EOF
3+
geth bls account new --datadir $1 --blspassword $2

0 commit comments

Comments
 (0)