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
4e550880
Commit
4e550880
authored
Jul 04, 2019
by
yukang
Committed by
vipwzw
Jul 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
optimize some code for ci check
parent
da1ce603
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
test-rpc.sh
plugin/dapp/paracross/cmd/test/test-rpc.sh
+3
-3
No files found.
plugin/dapp/paracross/cmd/test/test-rpc.sh
View file @
4e550880
...
...
@@ -339,7 +339,7 @@ function main() {
UNIT_HTTP
=
$1
IS_PARA
=
$(
echo
'"'
"
${
UNIT_HTTP
}
"
'"'
| jq
'.|contains("8901")'
)
if
[
$#
-eq
4
]
;
then
if
[
$#
-eq
4
]
&&
[
-n
"
$2
"
]
&&
[
-n
"
$3
"
]
&&
[
-n
"
$4
"
]
;
then
#fromAddr 跨链资产转移地址
local
from_addr
=
"
$2
"
#privkey 地址签名
...
...
@@ -352,7 +352,7 @@ function main() {
echo
"=========== # start cross transfer monitor ============="
while
true
;
do
paracross_Transfer_Withdraw_Inner
"
$from_addr
"
"
$privkey
"
"
$paracross_addr
"
"
$execer_name
"
chain33_BlockWait 1
${
UNIT_HTTP
}
chain33_BlockWait 1
"
${
UNIT_HTTP
}
"
done
else
echo
"=========== # paracross rpc test ============="
...
...
@@ -365,6 +365,6 @@ function main() {
fi
}
main
$1
$2
$3
$4
main
"
$1
"
"
$2
"
"
$3
"
"
$4
"
#main http://127.0.0.1:8801
#main http://47.98.253.127:8801 1KSBd17H7ZK8iT37aJztFB22XGwsPTdwE4 0x6da92a632ab7deb67d38c0f6560bcfed28167998f6496db64c258d5e8393a81b user.p.fzmtest.paracross
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