Cancel the upgrade of Polkadot Runtime to v9320
Democracy
0 Comments
Executed

This proposal aims to cancel the upgrade of Polkadot Runtime to v9320, due to a change on FRAME code explained below:

As the dev team works on transforming all FRAME pallets and code to work properly with WeightsV2, they have added the following check to the scheduler pallet:

https://github.com/paritytech/substrate/blob/b1396f708b2001593d5589dd1bd3f832821fb208/frame/scheduler/src/lib.rs#L1105-L1107

This piece of code should ensure that we don't execute a scheduled call that would use more weight than we have left for the block. For most calls this isn't any problem as they should be fit easily into a block. However, for set_code the dev team currently has annotated it with using the max block weight:

https://github.com/paritytech/substrate/blob/b1396f708b2001593d5589dd1bd3f832821fb208/frame/system/src/lib.rs#L404-L405

So, when trying to execute set_code with the scheduler it will always fail this check. There will be already some consumed weight when trying to dispatch the call and some_weight + max_block_weight will always be bigger than max_block_weight. A new proposal will be submitted with the correct call soon.

  • Proposal hash: 0x88998cf7535c1f22d62849be8464fdc38fe46c0a46dc943ec56c91ef6592ec65

  • Preimage is submitted.

  • Note this motion is an external one: meaning if/after Council approves, the community will vote on this proposal with the final decision.

Polkassembly
Reply
Up
Share
Votes
50%Aye
50%Nay
Aye
0 DOT
Nay
0 DOT
Turnout
0 DOT
Electorate
0 DOT
Passed
Check all votes
Metadata
Proposer
Hash
Delay
02022-12-12 23:35:00
End
02022-12-12 23:03:30
Threshold
Call
Table
Json
callIndex0x0e09
sectiondemocracy
methodcancelReferendum
args
refIndex89
TimelineLatest activity undefined
2022-12-09 22:41:30
Started
referendumIndex
92
voteThreshold
SimpleMajority
2022-12-12 23:03:30
Passed
referendumIndex
92
2022-12-12 23:35:00
Executed
result
ok
Comments
SubSquare
Polkassembly
There are no comments here