Commit 360e53e3 authored by hezhengjun's avatar hezhengjun

Merge branch 'withdraw_opt_1217' of github.com:zhengjunhe/plugin into withdraw_opt_1217

parents 13e2b599 a0a70ded
...@@ -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
...@@ -207,7 +204,7 @@ function AllRelayerMainTest() { ...@@ -207,7 +204,7 @@ function AllRelayerMainTest() {
initPara initPara
StartDockerRelayerDeploy StartDockerRelayerDeploy
test_all # test_all
TestRelayerProxy TestRelayerProxy
......
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