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
ba263f60
Commit
ba263f60
authored
Dec 24, 2021
by
QM
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
up shell
parent
449f5b9d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
dockerRelayerTest.sh
plugin/dapp/cross2eth/cmd/build/dockerRelayerTest.sh
+2
-3
No files found.
plugin/dapp/cross2eth/cmd/build/dockerRelayerTest.sh
View file @
ba263f60
...
...
@@ -115,8 +115,7 @@ function TestETH2Chain33Assets_proxy() {
echo
-e
"
${
IYellow
}
ethTestAddr2 ethereum withdraw 接收地址 withdraw 后金额
${
NOC
}
"
result
=
$(${
CLIP
}
ethereum balance
-o
"
${
ethTestAddr2
}
"
| jq
-r
".balance"
)
# shellcheck disable=SC2219
let
ethT2BalanceEnd
=
ethT2Balancebf+lockAmount1-1
ethT2BalanceEnd
=
$(
echo
"
${
ethT2Balancebf
}
+
${
lockAmount1
}
-1"
| bc
)
is_equal
"
${
result
}
"
"
${
ethT2BalanceEnd
}
"
echo
-e
"
${
IYellow
}
ethValidatorAddrp ethereum 代理地址 withdraw 后金额
${
NOC
}
"
...
...
@@ -124,7 +123,7 @@ function TestETH2Chain33Assets_proxy() {
if
[[
$(
echo
"
${
ethPBalancebf
}
-
${
lockAmount1
}
+1 <
$result
"
| bc
)
]]
;
then
echo
-e
"
${
RED
}
error
$ethPBalanceEnd
小于
$result
, 应该大于
$ethPBalanceEnd
扣了一点点手续费
${
NOC
}
"
#
exit 1
exit
1
fi
echo
-e
"
${
GRE
}
===========
$FUNCNAME
end ===========
${
NOC
}
"
...
...
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