-
Notifications
You must be signed in to change notification settings - Fork 5
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
[2.0] Enable /v1/producer/pause_at_block
#1057
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice test!
tests/pause_at_block_test.py
Outdated
assert headNode.getHeadBlockNum() == blockNum, "Head Node_02 did not pause at block" | ||
assert specNode.getHeadBlockNum() == blockNum, "Speculative Node_03 did not pause at block" | ||
assert irrvNode.getHeadBlockNum() == blockNum, "Irreversible Node_04 did not pause at block" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Regarding the comments, above we have headNode = cluster.getNode(3)
. Wouldn't that make it Node_03
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I added another node and didn't update the comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs to wait for 2.0.
Enable new
/v1/producer/pause_at_block
endpoint for pausing a node at a particular block number. Use/v1/producer/resume
to resume after pause.Resolves #570