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
e96589b1
Commit
e96589b1
authored
May 13, 2020
by
vipwzw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto ci
parent
e8808e5a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
RopstenTest.sh
plugin/dapp/x2Ethereum/cmd/build/RopstenTest.sh
+3
-4
publicTest.sh
plugin/dapp/x2Ethereum/testsh/publicTest.sh
+1
-2
No files found.
plugin/dapp/x2Ethereum/cmd/build/RopstenTest.sh
View file @
e96589b1
...
...
@@ -89,7 +89,7 @@ function StartRelayerAndDeploy() {
获取 BridgeRegistry 地址
result
=
$(${
CLIA
}
relayer ethereum bridgeRegistry
)
BridgeRegistry
=
$(
cli_ret
"
${
result
}
"
"bridgeRegistry"
".addr"
)
# BridgeRegistry="0x212ae3c705DA7E3568a85595E8e16268FE7F6448"
# BridgeRegistry="0x212ae3c705DA7E3568a85595E8e16268FE7F6448"
kill_ebrelayer
"./A/ebrelayer"
# 修改 relayer.toml 配置文件
...
...
@@ -432,7 +432,6 @@ function TestETH2Chain33AssetsKill() {
start_ebrelayerC
start_ebrelayerD
result
=
$(${
Chain33Cli
}
x2ethereum balance
-s
12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv
-t
eth | jq
".res"
| jq
".[]"
| jq
-r
".balance"
)
balance_ret
"
${
result
}
"
"0.133"
...
...
@@ -537,7 +536,7 @@ function TestETH2Chain33Erc20Kill() {
function
AllRelayerMainTest
()
{
set
+e
# docker cp ${GOPATH}/src/github.com/33cn/plugin/build/ci/x2Ethereum build_chain33_1:/root/x2Ethereum
# docker cp ${GOPATH}/src/github.com/33cn/plugin/plugin/dapp/x2Ethereum/cmd/build/RopstenTest.sh build_chain33_1:/root/x2Ethereum/RopstenTest.sh
# docker cp ${GOPATH}/src/github.com/33cn/plugin/plugin/dapp/x2Ethereum/cmd/build/RopstenTest.sh build_chain33_1:/root/x2Ethereum/RopstenTest.sh
Chain33Cli
=
"./../chain33-cli"
...
...
@@ -561,7 +560,7 @@ function AllRelayerMainTest() {
# # kill relayer and start relayer
# TestChain33ToEthAssetsKill
# TestETH2Chain33AssetsKill
# TestETH2Chain33AssetsKill
# TestETH2Chain33Erc20Kill
echo
-e
"
${
GRE
}
===========
$FUNCNAME
end ===========
${
NOC
}
"
...
...
plugin/dapp/x2Ethereum/testsh/publicTest.sh
View file @
e96589b1
...
...
@@ -536,4 +536,4 @@ function eth_block_wait() {
sleep
1
set
-x
echo
-e
"
${
GRE
}
eth wait new block
$count
s, cur height=
$expect
,old=
$((
cur_height
))${
NOC
}
"
}
\ No newline at end of file
}
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