Closed bkontur closed 7 months ago
1.2.0 is almost ready, missing just:
From description:
From comments:
All of them look pretty ready! Let's get this done today! :rocket:
https://github.com/polkadot-fellows/runtimes/pull/245 needs rank3+ approval because it touched CI file
https://github.com/polkadot-fellows/runtimes/pull/245 needs rank3+ approval because it touched CI file
My approval still does not count. Anybody knows why?
My approval still does not count. Anybody knows why?
It did, please be patient with the CI :P
check Nacho's integration tests
* [ ] check/verify e2e tests: OpenGov -> relay to AssetHub - see [comment](https://github.com/polkadot-fellows/runtimes/pull/187/files#r1507284250) @muharem
@bkontur what is up with this?
Tests are green, but I had to comment init_state_migration::InitMigrate
because I was getting the below error when trying to run Polkadot's runtime upgrade with Chopsticks. It is probably an issue with smoldot.
runtime::state-trie-migration DEBUG: [19993546] π€ running migrations on top of MigrationTask { top: To start, child: To start, dyn_top_items: 0, dyn_child_items: 0, dyn_size: 0, size: 0, top_items: 0, child_items: 0 } until MigrationLimits { size: 409600, item: 4800 }
runtime::state-trie-migration TRACE: [19993546] π€ migrated a top key, next_top_key = Some(BoundedVec([], 512))
runtime::state-trie-migration TRACE: [19993546] π€ migrated a top key, next_top_key = Some(BoundedVec([5, 149, 38, 117, 134, 181, 119, 68, 146, 120, 132, 245, 25, 235, 129, 1, 78, 123, 144, 18, 9, 107, 65, 196, 235, 58, 175, 148, 127, 110, 164, 41], 512))
runtime::state-trie-migration TRACE: [19993546] π€ migrated a top key, next_top_key = Some(BoundedVec([6, 222, 61, 138, 84, 210, 126, 68, 169, 213, 206, 24, 150, 24, 242, 45, 78, 123, 144, 18, 9, 107, 65, 196, 235, 58, 175, 148, 127, 110, 164, 41], 512))
runtime::state-trie-migration TRACE: [19993546] π€ migrated a top key, next_top_key = Some(BoundedVec([6, 222, 61, 138, 84, 210, 126, 68, 169, 213, 206, 24, 150, 24, 242, 45, 83, 180, 18, 59, 46, 24, 110, 7, 251, 123, 173, 93, 218, 95, 85, 192], 512))
runtime::state-trie-migration TRACE: [19993546] π€ migrated a top key, next_top_key = Some(BoundedVec([6, 222, 61, 138, 84, 210, 126, 68, 169, 213, 206, 24, 150, 24, 242, 45, 180, 180, 157, 149, 50, 13, 144, 33, 153, 76, 133, 15, 37, 184, 227, 133], 512))
panicked at /Users/nacho/Desktop/PARITY/Repos/chopsticks/vendor/smoldot/lib/src/executor/storage_diff.rs:207:13:
assertion failed: in_parent_next_key > key
Stack:
Error
at imports.wbg.__wbg_new_abda76e883ba8a5f (file:///Users/nacho/Desktop/PARITY/Repos/chopsticks/executor/dist/esm/chopsticks_executor.js:801:19)
at wasm://wasm/00b1e282:wasm-function[1108]:0x191195
at wasm://wasm/00b1e282:wasm-function[1334]:0x19979c
at wasm://wasm/00b1e282:wasm-function[1318]:0x1992e0
at wasm://wasm/00b1e282:wasm-function[245]:0x10b484
at wasm://wasm/00b1e282:wasm-function[115]:0xba794
at wasm://wasm/00b1e282:wasm-function[632]:0x16b359
at wasm://wasm/00b1e282:wasm-function[1476]:0x19aeb1
at __wbg_adapter_48 (file:///Users/nacho/Desktop/PARITY/Repos/chopsticks/executor/dist/esm/chopsticks_executor.js:384:10)
at real (file:///Users/nacho/Desktop/PARITY/Repos/chopsticks/executor/dist/esm/chopsticks_executor.js:366:22)
node:internal/event_target:1096
process.nextTick(() => { throw err; });
^
Error [RuntimeError]: unreachable
at wasm://wasm/00b1e282:wasm-function[1108]:0x1912ab
at wasm://wasm/00b1e282:wasm-function[1334]:0x19979c
at wasm://wasm/00b1e282:wasm-function[1318]:0x1992e0
at wasm://wasm/00b1e282:wasm-function[245]:0x10b484
at wasm://wasm/00b1e282:wasm-function[115]:0xba794
at wasm://wasm/00b1e282:wasm-function[632]:0x16b359
at wasm://wasm/00b1e282:wasm-function[1476]:0x19aeb1
at __wbg_adapter_48 (file:///Users/nacho/Desktop/PARITY/Repos/chopsticks/executor/dist/esm/chopsticks_executor.js:384:10)
at real (file:///Users/nacho/Desktop/PARITY/Repos/chopsticks/executor/dist/esm/chopsticks_executor.js:366:22)
at node:internal/process/task_queues:140:7
It is probably an issue with smoldot.
Yeah looks like one.
Tests are green, but I had to comment
init_state_migration::InitMigrate
because I was getting the below error when trying to run Polkadot's runtime upgrade with Chopsticks. It is probably an issue with smoldot.runtime::state-trie-migration DEBUG: [19993546] π€ running migrations on top of MigrationTask { top: To start, child: To start, dyn_top_items: 0, dyn_child_items: 0, dyn_size: 0, size: 0, top_items: 0, child_items: 0 } until MigrationLimits { size: 409600, item: 4800 } runtime::state-trie-migration TRACE: [19993546] π€ migrated a top key, next_top_key = Some(BoundedVec([], 512)) runtime::state-trie-migration TRACE: [19993546] π€ migrated a top key, next_top_key = Some(BoundedVec([5, 149, 38, 117, 134, 181, 119, 68, 146, 120, 132, 245, 25, 235, 129, 1, 78, 123, 144, 18, 9, 107, 65, 196, 235, 58, 175, 148, 127, 110, 164, 41], 512)) runtime::state-trie-migration TRACE: [19993546] π€ migrated a top key, next_top_key = Some(BoundedVec([6, 222, 61, 138, 84, 210, 126, 68, 169, 213, 206, 24, 150, 24, 242, 45, 78, 123, 144, 18, 9, 107, 65, 196, 235, 58, 175, 148, 127, 110, 164, 41], 512)) runtime::state-trie-migration TRACE: [19993546] π€ migrated a top key, next_top_key = Some(BoundedVec([6, 222, 61, 138, 84, 210, 126, 68, 169, 213, 206, 24, 150, 24, 242, 45, 83, 180, 18, 59, 46, 24, 110, 7, 251, 123, 173, 93, 218, 95, 85, 192], 512)) runtime::state-trie-migration TRACE: [19993546] π€ migrated a top key, next_top_key = Some(BoundedVec([6, 222, 61, 138, 84, 210, 126, 68, 169, 213, 206, 24, 150, 24, 242, 45, 180, 180, 157, 149, 50, 13, 144, 33, 153, 76, 133, 15, 37, 184, 227, 133], 512)) panicked at /Users/nacho/Desktop/PARITY/Repos/chopsticks/vendor/smoldot/lib/src/executor/storage_diff.rs:207:13: assertion failed: in_parent_next_key > key Stack: Error at imports.wbg.__wbg_new_abda76e883ba8a5f (file:///Users/nacho/Desktop/PARITY/Repos/chopsticks/executor/dist/esm/chopsticks_executor.js:801:19) at wasm://wasm/00b1e282:wasm-function[1108]:0x191195 at wasm://wasm/00b1e282:wasm-function[1334]:0x19979c at wasm://wasm/00b1e282:wasm-function[1318]:0x1992e0 at wasm://wasm/00b1e282:wasm-function[245]:0x10b484 at wasm://wasm/00b1e282:wasm-function[115]:0xba794 at wasm://wasm/00b1e282:wasm-function[632]:0x16b359 at wasm://wasm/00b1e282:wasm-function[1476]:0x19aeb1 at __wbg_adapter_48 (file:///Users/nacho/Desktop/PARITY/Repos/chopsticks/executor/dist/esm/chopsticks_executor.js:384:10) at real (file:///Users/nacho/Desktop/PARITY/Repos/chopsticks/executor/dist/esm/chopsticks_executor.js:366:22) node:internal/event_target:1096 process.nextTick(() => { throw err; }); ^ Error [RuntimeError]: unreachable at wasm://wasm/00b1e282:wasm-function[1108]:0x1912ab at wasm://wasm/00b1e282:wasm-function[1334]:0x19979c at wasm://wasm/00b1e282:wasm-function[1318]:0x1992e0 at wasm://wasm/00b1e282:wasm-function[245]:0x10b484 at wasm://wasm/00b1e282:wasm-function[115]:0xba794 at wasm://wasm/00b1e282:wasm-function[632]:0x16b359 at wasm://wasm/00b1e282:wasm-function[1476]:0x19aeb1 at __wbg_adapter_48 (file:///Users/nacho/Desktop/PARITY/Repos/chopsticks/executor/dist/esm/chopsticks_executor.js:384:10) at real (file:///Users/nacho/Desktop/PARITY/Repos/chopsticks/executor/dist/esm/chopsticks_executor.js:366:22) at node:internal/process/task_queues:140:7
@muharem @NachoPal so, can we consider these two points as done, or is anything missing?
we consider these two points as done
Yes, you can check the box
pallet-staking
version 29.0.1
is released and used, which is the current version plus https://github.com/paritytech/polkadot-sdk/pull/3639 and (potentially one other patch). This is basically making sure that the bug we fixed in 1.1.3 runtime release won't re-appear. Being worked on by @gpestana.
- [ ] we need to make sure that
pallet-staking
version29.0.1
is released and used, which is the current version plus Staking ledger bonding fixes paritytech/polkadot-sdk#3639 and (potentially one other patch). This is basically making sure that the bug we fixed in 1.1.3 runtime release won't re-appear. Being worked on by @gpestana.
So, it looks like everything is marked as done, and this is the last thing.
One question or point: do we want to regenerate fresh weights once more?
I did it for all runtimes here based on main
branch commit f5aeb7e8cc024a17a42ca547645f25f2ae28e4f4
commit and after that I also did fresh weights for people-kusama
/ coretime-kusama
and Snowbridge pallets.
I'm just bringing this to your attention because last time it took somewhere between 12 to 23 hours on Oliver's machine (Kusama/Polkadot are the slowest - several hours, while SPs are fast). Maybe there's no need to regenerate for all runtimes, and we could just regenerate for the concrete pallets affected after commit f5aeb7e8cc024a17a42ca547645f25f2ae28e4f4
?
I can see just these candidates:
pallet_state_trie_migration
pallet_asset_conversion
pallet_treasury
pallet_staking
// Use same weights as substrate ones.
type WeightInfo = pallet_state_trie_migration::weights::SubstrateWeight<Runtime>;
I'm just bringing this to your attention because last time it took somewhere between 12 to 23 hours on Oliver's machine (Kusama/Polkadot are the slowest - several hours, while SPs are fast). Maybe there's no need to regenerate for all runtimes, and we could just regenerate for the concrete pallets affected after commit
f5aeb7e8cc024a17a42ca547645f25f2ae28e4f4
?
I think we used the same weights for the state-trie-migration as on Kusama? So should be fine.
For the other pallet, yea we could regenerate if its quick, but would not want to hold up the release for it.
I'm just bringing this to your attention because last time it took somewhere between 12 to 23 hours on Oliver's machine (Kusama/Polkadot are the slowest - several hours, while SPs are fast). Maybe there's no need to regenerate for all runtimes, and we could just regenerate for the concrete pallets affected after commit
f5aeb7e8cc024a17a42ca547645f25f2ae28e4f4
?I think we used the same weights for the state-trie-migration as on Kusama? So should be fine. For the other pallet, yea we could regenerate if its quick, but would not want to hold up the release for it.
ok, I just did pallet_asset_conversion
and pallet_treasury
:
should we close this now?
Please everyone leave a comment with a link to a pr or issue, so we have it tracked.
TODO
polkadot@1.5
https://github.com/polkadot-fellows/runtimes/pull/137 (minimal configurations, just to compile)polkadot-sdk@1.6.0
https://github.com/polkadot-fellows/runtimes/pull/159polkadot-sdk@1.7.0
https://github.com/polkadot-fellows/runtimes/pull/1871_002_000
- done in https://github.com/polkadot-fellows/runtimes/pull/187#[api_version(7)] impl primitives::runtime_api::ParachainHost - fn node_features
+ verify what is missing https://github.com/polkadot-fellows/runtimes/pull/194cumulus_pallet_parachain_system
to SP runtimescargo machete
)pallet_asset_conversion benchmarks
https://github.com/paritytech/polkadot-sdk/issues/3440