Referenda

Open and closed proposals

Polkadot
#436ExecutedBig TipperInfrastructure

Retroactive reimburesement for para upgrade fees contributions

Proposer
Requested
550 DOT
Ended
26 Jan 2024
Comments
1
BeneficiarySzego

AI Digest

Category Infrastructure
  • The referendum requests retroactive reimbursement for work addressing parachain validation-code storage fees and upgrade-related deposit requirements.
  • The requester implemented a proposed solution in PR #2372 and contributed to the alternative approach’s phase-one implementation in PR #3020.
  • The fix is intended for completion before release of the new Coretime model, while dynamic fee changes may come later.

Description

Written by the proposer, as published on Subsquare

When a parachain is registered, the parachain manager is responsible for the cost of storing the validation code on-chain. After successful registration in the current system, parachains are allowed to perform code upgrades without being required to pay for the differences in validation code size.

This means that someone could theoretically register a parachain with minimal code and then, at a later point, freely register validation code that is significantly larger than the original code.

This is obviously a problem that needs to be fixed, as being imprecise about the deposit requirements for storing data on-chain can lead to issues in the system.

This is something that needs to be fixed before the release of the new Coretime model.

In PR #2372 I have proposed a solution that would solve this problem and I implemented it. However, after having a lot of meaningful discussions on this PR a different approach was proposed where the dynamic fee based model that was implemented in this PR would be added at a later stage.

PR #3020 Is the implementation of phase #1 described in the proposed approach.

This is something I have dedicated a lot of my time to and I would love to continue working on this.

This is a tip request for the efforts I've invested so far.

Discussion

1 comments from OpenShore and Subsquare; spam hidden

Markdown
Signed with your wallet. No fee, nothing on-chain.
157piw…gkk9q1044d 5h ago

For reference, we have historically had a range of 20 -> 150 DOTs for open source contributions to polkadot-sdk. Nonetheless, I agree that the scope and importance of this work is beyond that, and deserves a larger top. But, we should not set a trend that any contribution to polkadot-sdk would get similar tip values and such should be evaluated on a case by case basis.

Good luck with the rest of your implementation!