Skip to content

Reduce storage deposit for parachain PVFs #5012

@eskimor

Description

@eskimor

We would like to reduce the amount of locked token needed for PVF (Parachain Validation Function), but this comes with a number of challenges that need to be resolved first:

  1. offchain XCMP: Merkle tree of para headers in beefy ignores Coretime chains #4737
  2. (Re-)preparing artifacts for thousands of PVFs might take too much time, e.g. on executor parameter changes: Solution
    2.1. Migrate to PolkaVM (Instant preparation)
    2.2. Only enact executor paramater changes after valiators confirmed that they have the artifacts prepared with the new parameters prepared already.
  3. Thousands of registered PVFs and flexible coretime would allow for the possibility of lot's of runtime upgrades to happen at the same time, causing DoS/reduced service to other parachains. See RFC-102 for a suggested solution.
  4. HRMP message size/count limits should be reduced.
  5. Anything else?

Further Improvements

Once we brought storage deposits down (with off-chain storage we also actually bring real costs down), we should also reduce the minimum fee for on-demand, given how low bulk cores are sold right now on Kusama.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions