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
Pause program API #691
Pause program API #691
Conversation
messages should be removed from the wait list
use utils::get_last_program_id
into gshep/issue-652
adjust to the change. Fix build of runtime
into gshep/issue-652
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.
Request changes in order to remove waitlist for paused programs. These messages should be removed and replied by system with error exit code.
Despite this request, looks like good part of removing |
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.
👍
Resolves #652, resolves #707
pallet_gear_program::pause_program
pallet_gear_program::resume_program_impl
resume_program
in pallet_gear_programRelease notes: Implemented internal API that allows to pause/resume programs execution. Fixed several tiny bugs and refactored the code a bit. Added new extrinsic
resume_program
. It provides an ability to resume a program by any user/program with enough funds.This is the next step to implement rent charging for program resources.