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
dd882ed0
Commit
dd882ed0
authored
Dec 21, 2021
by
QM
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
up shell
parent
0af74d03
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
dockerRelayerTest.sh
plugin/dapp/cross2eth/cmd/build/dockerRelayerTest.sh
+3
-6
mainPubilcRelayerTest.sh
.../dapp/cross2eth/cmd/build/public/mainPubilcRelayerTest.sh
+1
-1
No files found.
plugin/dapp/cross2eth/cmd/build/dockerRelayerTest.sh
View file @
dd882ed0
...
@@ -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
...
...
plugin/dapp/cross2eth/cmd/build/public/mainPubilcRelayerTest.sh
View file @
dd882ed0
...
@@ -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"
...
...
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