NodleCode / chain

A repo for the Nodle blockchain node ⛓
GNU General Public License v3.0
188 stars 46 forks source link

Upgrade to polkadot-v1.13.0 #875

Closed aliXsed closed 3 weeks ago

aliXsed commented 1 month ago

Among the changes done for this implementation we have the StorageWeightReclaim feature which is introduced in Polkadot v1.9.0 and no issues reported about it since then. However my investigation shows the polkadot system parachains have not adopted it yet. This feature would allow the differences between benchmarked proof sizes and the actual proof sizes to be accounted for plus a facility for manual weight metering inside on_idle. This needs both the client and the runtime to support it. I noticed we had brought a part of this feature to our runtime. In this PR our client and runtime will become compatible about this check. My own assessment is this should be a pretty safe adoption especially if no problems are discovered during testing and try-runtime. The good thing about keeping it is that our upgrade will become closer to the upstream template/suggestion for parachains.