We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Upgradable::up_stage_code
code: Option<Vec<u8>>
...with None removing any staged code. This is more idiomatic than removing staged code when the vector passed to up_stage_code is empty:
None
up_stage_code
https://github.com/aurora-is-near/near-plugins/blob/c043add4c2a0810872c4326a55c5162bccd3f4ee/near-plugins-derive/src/upgradable.rs#L32-L39
The possibility to remove staged code should also be mentioned in the docs.
The issue is based on this discussion.
The text was updated successfully, but these errors were encountered:
mooori
No branches or pull requests
...with
None
removing any staged code. This is more idiomatic than removing staged code when the vector passed toup_stage_code
is empty:https://github.com/aurora-is-near/near-plugins/blob/c043add4c2a0810872c4326a55c5162bccd3f4ee/near-plugins-derive/src/upgradable.rs#L32-L39
The possibility to remove staged code should also be mentioned in the docs.
The issue is based on this discussion.
The text was updated successfully, but these errors were encountered: