Conversation
f517dfa to
fe063c5
Compare
|
⏳ Running benchmarks and calculating weights. DO NOT MERGE! A new commit will be added upon completion... |
|
⏳ Running benchmarks and calculating weights. DO NOT MERGE! A new commit will be added upon completion... |
|
✅ Finished running benchmarks. Updated weights have been committed to this PR branch in commit a892003. |
Codecov Report
@@ Coverage Diff @@
## main #1590 +/- ##
==========================================
+ Coverage 72.93% 73.02% +0.09%
==========================================
Files 49 49
Lines 4751 4745 -6
==========================================
Hits 3465 3465
+ Misses 1286 1280 -6
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
⏳ Running benchmarks and calculating weights. DO NOT MERGE! A new commit will be added upon completion... |
|
✅ Finished running benchmarks. Updated weights have been committed to this PR branch in commit 5374d58. |
| // the descriptions of these configs. | ||
| parameter_types! { | ||
| pub MaxProposalWeight: frame_support::weights::Weight = | ||
| Perbill::from_percent(50) * common_runtime::constants::MAXIMUM_BLOCK_WEIGHT; |
There was a problem hiding this comment.
It is the same value as Polkadot uses. I believe it to be ok, but we will want to test governance upgrade on testnet.
There was a problem hiding this comment.
This value is in the unit testing mocks, which needed to be changed to pass the unit tests.
The value defined in runtime is (runtime/frequency/src/lib.rs):
type MaxProposalWeight = MaxCollectivesProposalWeight;
// Which resolves to this:
pub MaxCollectivesProposalWeight: Weight = Perbill::from_percent(50) * RuntimeBlockWeights::get().max_block;
wilwade
left a comment
There was a problem hiding this comment.
One open question on the metadata_at stuff, otherwise all good to go from my side!
Additional tests run:
- Build mainnet and it connected to the network ✅
- Export metadata still works ✅
wilwade
left a comment
There was a problem hiding this comment.
🎉 Lots of great work in there. Thanks!
# Goal The goal of this PR is to update all remaining dependencies. In part a follow up to #1590 # Discussion - The 0.9.42 branch had moved to `9326fee1fb853be3d5096a2beef5fb46624e9d75` Polkadot release did as well. https://github.com/paritytech/substrate/commits/polkadot-v0.9.42 - General upgrade of additional packages
# Goal The goal of this PR is upgrade Polkadot to v0.9.42 Polkadot Release Notes: https://github.com/paritytech/polkadot/releases/tag/v0.9.42 https://github.com/paritytech/polkadot/releases/tag/v0.9.41 https://github.com/paritytech/polkadot/releases/tag/v0.9.40 Polkadot Release Analysis: https://forum.polkadot.network/t/polkadot-release-analysis-v0-9-41-v0-9-42/2828/1 Closes #1472 Closes #1270 Closes #1332 # Discussion - v0.9.40 was not working and there was evidence that changes in v0.9.42 were related, so we decided to jump ahead to v0.9.42 <!-- List discussion items --> # Runtime Migrations Included - [x] paritytech/polkadot#6937 - [x] paritytech/substrate#13715 - [x] paritytech/substrate#13936 - [x] paritytech/polkadot#7114 - [x] Further all migrations from 9.38+ are included: paritytech/polkadot#7162) # Checklist - [x] Chain spec updated - [ ] Custom RPC OR Runtime API added/changed? Updated js/api-augment. - [ ] Design doc(s) updated - [ ] Tests added - [ ] Benchmarks added - [x] Weights updated # Tests Performed - [x] `make ci-local` -- Passing (includes lint, docs, unit-test and integration-test) - [x] `make start-native` -- Successfully attached debugger when creating MSA with Polkadot UI - [x] `make start-relay` -- Docker Containers successfully started, but too slow in emulation on Apple Silicon M2. - [x] `make upgrade-local` -- Successfully started local relay network and upgraded to a newer test runtime. - [x] `make upgrade-local` -- Successfully updated a node running the current version on branch `main` --------- Co-authored-by: Frequency CI [bot] <do-not-reply@users.noreply.github.com> Co-authored-by: Matthew Orris <--help> Co-authored-by: Robert La Ferla <robert@onemsg.co>
# Goal The goal of this PR is to update all remaining dependencies. In part a follow up to #1590 # Discussion - The 0.9.42 branch had moved to `9326fee1fb853be3d5096a2beef5fb46624e9d75` Polkadot release did as well. https://github.com/paritytech/substrate/commits/polkadot-v0.9.42 - General upgrade of additional packages
Goal
The goal of this PR is upgrade Polkadot to v0.9.42
Polkadot Release Notes:
https://github.com/paritytech/polkadot/releases/tag/v0.9.42
https://github.com/paritytech/polkadot/releases/tag/v0.9.41
https://github.com/paritytech/polkadot/releases/tag/v0.9.40
Polkadot Release Analysis:
https://forum.polkadot.network/t/polkadot-release-analysis-v0-9-41-v0-9-42/2828/1
Closes #1472
Closes #1270
Closes #1332
Discussion
Runtime Migrations Included
ReportsByKindIndexparitytech/polkadot#7114Checklist
Tests Performed
make ci-local-- Passing (includes lint, docs, unit-test and integration-test)make start-native-- Successfully attached debugger when creating MSA with Polkadot UImake start-relay-- Docker Containers successfully started, but too slow in emulation on Apple Silicon M2.make upgrade-local-- Successfully started local relay network and upgraded to a newer test runtime.make upgrade-local-- Successfully updated a node running the current version on branchmain