Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge最新代码 #12

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Conversation

zsq978663747
Copy link
Collaborator

No description provided.

"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
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
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
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
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
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
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
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
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