Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
360e53e3
Commit
360e53e3
authored
Dec 21, 2021
by
hezhengjun
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'withdraw_opt_1217' of github.com:zhengjunhe/plugin into withdraw_opt_1217
parents
13e2b599
a0a70ded
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
dockerRelayerTest.sh
plugin/dapp/cross2eth/cmd/build/dockerRelayerTest.sh
+4
-7
mainPubilcRelayerTest.sh
.../dapp/cross2eth/cmd/build/public/mainPubilcRelayerTest.sh
+1
-1
No files found.
plugin/dapp/cross2eth/cmd/build/dockerRelayerTest.sh
View file @
360e53e3
...
...
@@ -22,13 +22,10 @@ function start_docker_ebrelayerProxy() {
init_validator_relayer
"
${
CLIP
}
"
"
${
validatorPwd
}
"
"
${
chain33ValidatorKeyp
}
"
"
${
ethValidatorAddrKeyp
}
"
}
#strle18="000000000000000000"
#strle6="000000"
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"
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"
# 在chain33上的bridgeBank合约中设置proxyReceiver
...
...
@@ -174,7 +171,7 @@ function TestETH2Chain33USDT_proxy() {
}
function
TestRelayerProxy
()
{
#
start_docker_ebrelayerProxy
start_docker_ebrelayerProxy
setWithdraw
TestETH2Chain33Assets_proxy
...
...
@@ -207,7 +204,7 @@ function AllRelayerMainTest() {
initPara
StartDockerRelayerDeploy
test_all
#
test_all
TestRelayerProxy
...
...
plugin/dapp/cross2eth/cmd/build/public/mainPubilcRelayerTest.sh
View file @
360e53e3
...
...
@@ -112,7 +112,7 @@ function updata_toml() {
function
updata_toml_start_bcd
()
{
for
name
in
b c d
;
do
updata_toml
$name
local
file
=
"./relayer
$name
.toml"
local
file
=
"./relayer
$name
.toml"
docker
cp
"
${
file
}
"
"
${
dockerNamePrefix
}
_ebrelayer
${
name
}
_1"
:/root/relayer.toml
start_docker_ebrelayer
"
${
dockerNamePrefix
}
_ebrelayer
${
name
}
_1"
"/root/ebrelayer"
"./ebrelayer
${
name
}
.log"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment