Commit dd882ed0 authored by QM's avatar QM

up shell

parent 0af74d03
...@@ -22,13 +22,10 @@ function start_docker_ebrelayerProxy() { ...@@ -22,13 +22,10 @@ function start_docker_ebrelayerProxy() {
init_validator_relayer "${CLIP}" "${validatorPwd}" "${chain33ValidatorKeyp}" "${ethValidatorAddrKeyp}" init_validator_relayer "${CLIP}" "${validatorPwd}" "${chain33ValidatorKeyp}" "${ethValidatorAddrKeyp}"
} }
#strle18="000000000000000000"
#strle6="000000"
function setWithdraw() { function setWithdraw() {
result=$(${CLIP} ethereum cfgWithdraw -f 1 -s ETH -a "500000000000000000000") result=$(${CLIP} ethereum cfgWithdraw -f 1 -s ETH -a 500 -d 18)
cli_ret "${result}" "cfgWithdraw" cli_ret "${result}" "cfgWithdraw"
result=$(${CLIP} ethereum cfgWithdraw -f 1 -s USDT -a "500000000") result=$(${CLIP} ethereum cfgWithdraw -f 1 -s USDT -a 500 -d 6)
cli_ret "${result}" "cfgWithdraw" cli_ret "${result}" "cfgWithdraw"
# 在chain33上的bridgeBank合约中设置proxyReceiver # 在chain33上的bridgeBank合约中设置proxyReceiver
...@@ -174,7 +171,7 @@ function TestETH2Chain33USDT_proxy() { ...@@ -174,7 +171,7 @@ function TestETH2Chain33USDT_proxy() {
} }
function TestRelayerProxy() { function TestRelayerProxy() {
# start_docker_ebrelayerProxy start_docker_ebrelayerProxy
setWithdraw setWithdraw
TestETH2Chain33Assets_proxy TestETH2Chain33Assets_proxy
......
...@@ -112,7 +112,7 @@ function updata_toml() { ...@@ -112,7 +112,7 @@ function updata_toml() {
function updata_toml_start_bcd() { function updata_toml_start_bcd() {
for name in b c d; do for name in b c d; do
updata_toml $name updata_toml $name
local file="./relayer$name.toml" local file="./relayer$name.toml"
docker cp "${file}" "${dockerNamePrefix}_ebrelayer${name}_1":/root/relayer.toml docker cp "${file}" "${dockerNamePrefix}_ebrelayer${name}_1":/root/relayer.toml
start_docker_ebrelayer "${dockerNamePrefix}_ebrelayer${name}_1" "/root/ebrelayer" "./ebrelayer${name}.log" start_docker_ebrelayer "${dockerNamePrefix}_ebrelayer${name}_1" "/root/ebrelayer" "./ebrelayer${name}.log"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment