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
eed946c1
Commit
eed946c1
authored
Oct 18, 2021
by
QM
Committed by
vipwzw
Oct 19, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix autonomy test
parent
1d1c45fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
autonomyTest.sh
plugin/dapp/autonomy/cmd/build/autonomyTest.sh
+8
-8
No files found.
plugin/dapp/autonomy/cmd/build/autonomyTest.sh
View file @
eed946c1
...
@@ -159,7 +159,7 @@ function check_activeRule() {
...
@@ -159,7 +159,7 @@ function check_activeRule() {
function
testProposalRule
()
{
function
testProposalRule
()
{
# proposal
# proposal
echo
-e
"
${
GRE
}
===========
$FUNCNAME
begin ===========
${
NOC
}
"
echo
-e
"
${
GRE
}
===========
$FUNCNAME
begin ===========
${
NOC
}
"
update_last_header
1
0
update_last_header
5
0
proposalRuleTx
proposalRuleTx
#vote
#vote
...
@@ -213,7 +213,7 @@ function check_activeBoard() {
...
@@ -213,7 +213,7 @@ function check_activeBoard() {
function
testProposalBoard
()
{
function
testProposalBoard
()
{
#proposal
#proposal
echo
-e
"
${
GRE
}
===========
$FUNCNAME
begin ===========
${
NOC
}
"
echo
-e
"
${
GRE
}
===========
$FUNCNAME
begin ===========
${
NOC
}
"
update_last_header
1
0
update_last_header
5
0
proposalBoardTx
proposalBoardTx
#vote
#vote
...
@@ -253,7 +253,7 @@ function showProject_status() {
...
@@ -253,7 +253,7 @@ function showProject_status() {
function
testProposalProject
()
{
function
testProposalProject
()
{
# proposal
# proposal
echo
-e
"
${
GRE
}
===========
$FUNCNAME
begin ===========
${
NOC
}
"
echo
-e
"
${
GRE
}
===========
$FUNCNAME
begin ===========
${
NOC
}
"
update_last_header
1
0
update_last_header
5
0
proposalProjectTx
proposalProjectTx
#vote
#vote
...
@@ -304,7 +304,7 @@ function testProposalChange() {
...
@@ -304,7 +304,7 @@ function testProposalChange() {
hash
=
$(${
Chain33Cli
}
send coins transfer
-a
20
-n
test
-t
"
${
autonomyAddr
}
"
-k
"
${
arrayKey
[21]
}
"
)
hash
=
$(${
Chain33Cli
}
send coins transfer
-a
20
-n
test
-t
"
${
autonomyAddr
}
"
-k
"
${
arrayKey
[21]
}
"
)
check_tx
"
${
Chain33Cli
}
"
"
${
hash
}
"
check_tx
"
${
Chain33Cli
}
"
"
${
hash
}
"
update_last_header
1
0
update_last_header
5
0
proposalChangeTx
"
${
changeAddr
}
"
"
${
arrayKey
[20]
}
"
proposalChangeTx
"
${
changeAddr
}
"
"
${
arrayKey
[20]
}
"
ret
=
$(${
Chain33Cli
}
autonomy showActiveBoard | jq
-r
".boards[20]"
)
ret
=
$(${
Chain33Cli
}
autonomy showActiveBoard | jq
-r
".boards[20]"
)
...
@@ -341,16 +341,16 @@ function testProposalChange() {
...
@@ -341,16 +341,16 @@ function testProposalChange() {
function
testProposalTerminate
()
{
function
testProposalTerminate
()
{
#test terminate
#test terminate
echo
-e
"
${
GRE
}
===========
$FUNCNAME
begin ===========
${
NOC
}
"
echo
-e
"
${
GRE
}
===========
$FUNCNAME
begin ===========
${
NOC
}
"
update_last_header
1
0
update_last_header
5
0
proposalRuleTx
proposalRuleTx
update_last_header
1
0
update_last_header
5
0
proposalBoardTx
proposalBoardTx
update_last_header
1
0
update_last_header
5
0
proposalProjectTx
proposalProjectTx
update_last_header
1
0
update_last_header
5
0
proposalChangeTx
"
${
changeAddr2
}
"
"
${
arrayKey
[21]
}
"
proposalChangeTx
"
${
changeAddr2
}
"
"
${
arrayKey
[21]
}
"
block_wait
"
${
Chain33Cli
}
"
850
block_wait
"
${
Chain33Cli
}
"
850
...
...
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