Skip to content

merge最新代码#12

Open
zsq978663747 wants to merge 12 commits into
EOSTestMonster:masterfrom
zsq978663747:master
Open

merge最新代码#12
zsq978663747 wants to merge 12 commits into
EOSTestMonster:masterfrom
zsq978663747:master

Conversation

@zsq978663747
Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread README_CN.md
"casename": "Testcase 01_get_request",
"pre_call": "echo 'This is called BEFORE cmdline call'",
"post_call": "echo 'This is called AFTER cmdline call'",
"stoponfail": "true",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add description to describe the case of the script

Copy link
Copy Markdown
Collaborator

@winlin winlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please run python3 startmonster.py to check the whether script works

#process = Popen(cmdline, stdout=PIPE, stderr=PIPE,shell=True)
#time.sleep(1)
#cmdlinel = f"cleos get account {newaccount}"
#process = Popen(cmdlinel, stdout=PIPE, stderr=PIPE,shell=True)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unused code should be removed

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

newaccount 这个功能要不要测试呢?如果生成无用的帐号没什么意义。

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

测试一下,可以用一个公知的私钥创建

#reprod
newaccount= params["newaccount"]
bppubkey = params["bppubkey"]
cmdline = f"cleos system regproducer {newaccount} {bppubkey} https://www.xxx.com 900"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

xxx.com is what?

return True

if __name__ == '__main__':
sys.exit( 0 if main() else 1)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

after you have finished your code, please run python3 startmonster.py to check the script works well

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i used python3.6,because httpapi/ used python3.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants