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
e7b45264
Commit
e7b45264
authored
Jan 07, 2020
by
linj
Committed by
vipwzw
Jan 08, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix unfreeze rpc test: not depond on tx receipt
https://github.com/33cn/plugin/issues/762
parent
a11820c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
test-rpc.sh
plugin/dapp/unfreeze/cmd/test/test-rpc.sh
+1
-5
No files found.
plugin/dapp/unfreeze/cmd/test/test-rpc.sh
View file @
e7b45264
...
@@ -25,9 +25,7 @@ function query_unfreezeID() {
...
@@ -25,9 +25,7 @@ function query_unfreezeID() {
exit
1
exit
1
fi
fi
else
else
unfreeze_id
=
$(
jq
'(.result.receipt.logs['
"
$uid_index
"
'].log.current.unfreezeID)'
<<<
"
$ret
"
)
uid
=
${
tx
#0x
}
unfreeze_id2
=
${
unfreeze_id
#\
"mavl-unfreeze-}
uid=
${
unfreeze_id2
%\
"}
echo
-e
"
${
GRE
}
====query tx=
$txhash
success
${
NOC
}
"
echo
-e
"
${
GRE
}
====query tx=
$txhash
success
${
NOC
}
"
break
break
fi
fi
...
@@ -38,7 +36,6 @@ function init() {
...
@@ -38,7 +36,6 @@ function init() {
ispara
=
$(
echo
'"'
"
${
MAIN_HTTP
}
"
'"'
| jq
'.|contains("8901")'
)
ispara
=
$(
echo
'"'
"
${
MAIN_HTTP
}
"
'"'
| jq
'.|contains("8901")'
)
echo
"ipara=
$ispara
"
echo
"ipara=
$ispara
"
exec_name
=
"unfreeze"
exec_name
=
"unfreeze"
uid_index=2
symbol
=
"bty"
symbol
=
"bty"
beneficiary_key
=
0xa2ec1c6274723c021daa8792f4d0d52ffa0eff0fd47c9c6c1d1dd618762dc178
beneficiary_key
=
0xa2ec1c6274723c021daa8792f4d0d52ffa0eff0fd47c9c6c1d1dd618762dc178
...
@@ -55,7 +52,6 @@ function init() {
...
@@ -55,7 +52,6 @@ function init() {
if
[
"
$ispara
"
==
true
]
;
then
if
[
"
$ispara
"
==
true
]
;
then
exec_name
=
"user.p.para."
${
exec_name
}
exec_name
=
"user.p.para."
${
exec_name
}
uid_index=1
symbol
=
"para"
symbol
=
"para"
local
main_ip
=
${
MAIN_HTTP
//8901/8801
}
local
main_ip
=
${
MAIN_HTTP
//8901/8801
}
...
...
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