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

Make state value metadata upgradable at runtime #11333

Merged
merged 2 commits into from
Dec 15, 2023

Commits on Dec 14, 2023

  1. Make state value metadata upgradable at runtime

    Remove StateValueMetadataKind=Option<StateValueMetadata>, instead, add
    StateValueMetadata::is_none() as an indication of a None
    metadata. This way, we are able to upgrade the metadata format at
    runtime (when we charge and refund the storage fee). This is to prepare
    for the refundable permanent bytes.
    msmouse committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    18e7e68 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f4b8fc2 View commit details
    Browse the repository at this point in the history