-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Polkadot v0.9.10 Release checklist #3760
Comments
I would love to see a full sync of parachain as part of the acceptance criteria. I have another thread open about how I've not been able to achieve a full sync using multiple different versions of Polkadot and Ubuntu. Maybe I'm doing something wrong, but it doesn't break until you are well over a 50% sync |
No runtime migrations this time - checking box. Though I'm a little uncertain as to whether there should be or not. There are quite a few changes, especially around the XCM stuff. Does none of this require a storage migration? @rphmeier @shawntabrizi maybe you could shed some light? List of changes can be found here : #3763 |
Transaction version will be bumped as part of #3865 . Attached are the metadata changes, though the bump is also due to #3693 kusama-metadata.txt |
@shawntabrizi are you able to confirm the correct proxy whitelists have been added for the additional calls linked in the previous comment's attachments? |
Are you sure? There are like 4 outstanding migrations in master: /~https://github.com/paritytech/polkadot/blob/master/runtime/polkadot/src/lib.rs#L1145 None of them made it into this PR? (i.e. the substrate version being used does not have these needed changes?) |
Yeah, this release was based off v0.9.9-1, only including what changes were required for XCMv1 - initially it was supposed to be quite a short list but it somewhat ballooned. The changes @chevdor listed in his PR here detail the changes. If those cherry-picked PRs just didn't include any migrations, it is probably fine, I just thought it prudent to double-check. I'll go over those PRs myself |
There is def a runtime upgrade here: /~https://github.com/paritytech/polkadot/pull/3575/files still looking through other changes |
I had a chat with @jacogr. Runtime 9100 is a V13. The suggested PolkadotJS API is 6.0.5+ and supports already V14 as well. |
The previous 5.9.2 is fine as well. So would not force an API upgrade (it is obviously appreciated if people bump, but not required) |
Regarding the proxy verification, I see from the metadata the following call additions: Kusama & WestendPolkadot
I do not think those need to be added to any Proxy. @pepyakin can you confirm ? |
I had a chat with @pepyakin and the conclusion is that non of the mentioned extrinsics do direct transfers. They also don't fit other |
Runtime upgrade to Westend applied. |
Release Checklist
This is the release checklist for Polkadot v0.9.10. All following
checks should be completed before publishing a new release of the
Polkadot/Kusama/Westend runtime or client. The current release candidate can be
checked out with
git checkout release-v0.9.10
Runtime Releases
These checks should be performed on the codebase prior to forking to a release-
candidate branch.
spec_version
has been incremented since thelast release for any native runtimes from any existing use on public
(non-private/test) networks.
removed for any public (non-private/test) networks.
the same. Bump
transaction_version
if not.proxy filters.
runtime logic.
The following checks can be performed after we have forked off to the release-
candidate branch or started an additional release candidate branch (rc-2, rc-3, etc)
runtime state is correctly updated for any public (non-private/test)
networks.
runtime changes.
All Releases
without issue for 12 hours.
/~https://github.com/paritytech/polkadot/releases with relevant release
notes
draft-release
Notes
Burn In
Ensure that Parity DevOps has run the new release on Westend, Kusama, and
Polkadot validators for at least 12 hours prior to publishing the release.
Build Artifacts
Add any necessary assets to the release. They should include:
Release notes
The release notes should list:
based on the max priority of any client changes.
srtool
The release notes may also list:
regarding this release
Spec Version
A runtime upgrade must bump the spec number. This may follow a pattern with the
client release (e.g. runtime v12 corresponds to v0.8.12, even if the current
runtime is not v11).
Old Migrations Removed
Any previous
on_runtime_upgrade
functions from old upgrades must be removedto prevent them from executing a second time. The
on_runtime_upgrade
functioncan be found in
runtime/<runtime>/src/lib.rs
.New Migrations
Ensure that any migrations that are required due to storage or logic changes
are included in the
on_runtime_upgrade
function of the appropriate pallets.Extrinsic Ordering
Offline signing libraries depend on a consistent ordering of call indices and
functions. Compare the metadata of the current and new runtimes and ensure that
the
module index, call index
tuples map to the same set of functions. In caseof a breaking change, increase
transaction_version
.To verify the order has not changed:
on Github, or
AWS
(adjust the rc in this URL as necessary).
./polkadot --chain=polkadot-local
or./polkadot --chain=kusama.local
polkadot-js-tools
to comparethe metadata:
docker run --network host jacogr/polkadot-js-tools metadata wss://rpc.polkadot.io ws://localhost:9944
docker run --network host jacogr/polkadot-js-tools metadata wss://kusama-rpc.polkadot.io ws://localhost:9944
[Identity] idx 28 -> 25 (calls 15)
- indicates the index forIdentity
has changed[+] Society, Recovery
- indicates the new version includes 2 additional modules/pallets.[Identity] idx 25 (calls 15)
Note: Adding new functions to the runtime does not constitute a breaking change
as long as they are added to the end of a pallet (i.e., does not break any
other call index).
Proxy Filtering
The runtime contains proxy filters that map proxy types to allowable calls. If
the new runtime contains any new calls, verify that the proxy filters are up to
date to include them.
Benchmarks
There are three benchmarking machines reserved for updating the weights at
release-time. To initialise a benchmark run for each production runtime
(westend, kusama, polkadot):
be available to download as an artifact.
git patch patchfile.patch
big outliers (i.e., twice or half the weight).
Polkadot JS
Ensure that a release of Polkadot JS API contains any new types or
interfaces necessary to interact with the new runtime.
The text was updated successfully, but these errors were encountered: