Skip to content

Conversation

@gregdhill
Copy link
Member

@gregdhill gregdhill commented Nov 14, 2022

Succeeds #765
Succeeds #761

Changes

paritytech/substrate@polkadot-v0.9.30...polkadot-v0.9.31

Notes

Upstream democracy removed enact_proposal, we should do the same but that requires some additional changes to the preimage setup. I've opted to hard-code the weight of this call to 1000 instead of the max to limit the number of breaking changes and allow the scheduler to actually service proposal tasks.

Runs all migrations as listed here: paritytech/polkadot#5729

@gregdhill gregdhill force-pushed the chore/polkadot-v0.9.31 branch from 53155df to 8e85415 Compare November 14, 2022 15:57
Signed-off-by: Gregory Hill <[email protected]>
Copy link
Member

@sander2 sander2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

paritytech/substrate#11649 state this:

Runtime storage migrations must be run for:

  • Preimage pallet
  • Scheduler pallet
  • Democracy pallet

I guess we don't need the democracy one since we use a fork, but don't we have to run the preimage one?

Also, we need to remember to run try-runtime on mainnets for these

sander2
sander2 previously approved these changes Nov 14, 2022
/// We allow for 2 seconds of compute with a 12 second average block time.
const MAXIMUM_BLOCK_WEIGHT: Weight = WEIGHT_PER_SECOND.saturating_mul(2 as u64);
pub const MAXIMUM_BLOCK_WEIGHT: Weight = WEIGHT_PER_SECOND
.saturating_div(2)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We only allow 0.5 sec of block production?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gregdhill gregdhill merged commit fe4b6dc into interlay:master Nov 15, 2022
@gregdhill gregdhill deleted the chore/polkadot-v0.9.31 branch November 15, 2022 09:48
@sander2 sander2 added this to the Release 1.20 milestone Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants