Polkassembly Logo

Head 1
Head 3
Head 4
Create Pencil IconCreate
TRACKS
ORIGINS
Report an issueNeed help with something?
Foot 1
Foot 2
Foot 3
Foot 4
OpenGov
View All Big Tipper

Retroactive reimburesement for para upgrade fees contributions

inBig Tipper
2 years ago
development
retroactive
Executed

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.

Comments (2)

2 years ago

Thanks for identifying the issue with the fee model of parachain code registry and working on an elegant solution.

2 years 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!

PleaseLogin to comment

Requested

DOT
550.00 DOT

Proposal Passed

3

of 3

Summary

0%

Aye

AyeNay

0%

Nay

Aye (104)0.0 DOT

Support0.0 DOT

Nay (15)0.0 DOT

Help Center

Report an Issue
Feedback
Terms and Conditions
Github

Our Services

Docs
Terms of Website
Privacy Policy

A House of Commons Initiative.

Polka Labs Private Limited 2025

All rights reserved.

Terms and ConditionsTerms of Website
Privacy Policy