-
Notifications
You must be signed in to change notification settings - Fork 382
upgrade substrate to v0.9.37 #2072
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
notlesh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. I'm somewhere between pleasantly surprised and skeptical that our Frontier patches are so minimal...
| RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Storage} = 2, | ||
| Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 3, | ||
| ParachainInfo: parachain_info::{Pallet, Storage, Config} = 4, | ||
| RootTesting: pallet_root_testing::{Pallet, Call, Storage} = 5, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we positive index 5 was never used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question, I can move it to end of line just to be safe. @notlesh opinions?
|
🥇 |
* upgrade to v0.9.37 * fix tests * update frontier * fix tests * add root-testing pallet * add call_index * Fix tracing reference hash --------- Co-authored-by: tgmichel <[email protected]>

What does it do?
upgrades moonbeam to v0.9.37
Notes
Substrate
Pallet Assets
destroy()in favor offreeze_asset(),start_destroy(),destroy_accounts(),destroy_approvals()andfinish_destroy().AssetDetailsnew fieldstatusin lieu ofis_frozen.DestroyWitnessparameter.RemoveItemsLimitto config.moonbeam.CreateOriginto Assets Pallet paritytech/substrate#12586CreateOriginmoonbeam.CallbackHandlemoonbeam.AssetIdresulting from the removal ofHasCompacttrait boundAssetIdParametermoonbeam.Inherents
InherentDataProvider::create_inherent_data()is nowasyncnimbus.InherentDataProvider::provide_inherent_data()is nowasyncnimbus.Others
#[pallet::call_index]attribute to dispatchables.pallet_balancesitemInactiveIssuance.pallet_balanceswas missing to set the storage_version attribute for the Pallet struct. Besides that it also removes the old StorageVersion representation.pallet_balancesstorage itemStorageVersion.root_testingpallet paritytech/substrate#12451system.fillBlock()topallet-root-testingPolkadot
ParaGenesisArgsfieldparachain: boolby enum fieldpara_kind: ParaKindxcm_mocksmoonbeam.Cumulus
ParachainBlockImportnow includesBlockandBackendparametersnimbus.sc-networkparitytech/substrate#12764SharedImportQueuein favor ofImportQueueService.nimbus.Nimbus
Frontier
Refactor
BlockId::Numberin favor ofBlockId::Hashparitytech/polkadot-sdk#53
Backend::StorageProviderProofProviderFinalizerBlockIdremoval: refactor:HeaderBackend::headerparitytech/substrate#12874HeaderBackend::status|headerBlockBackend::block|block_statusBackend::justificationsOthers
rpc_binary_search_estimate=>rpc-binary-search-estimateMoonbeam
What important points reviewers should know?
Is there something left for follow-up PRs?
What alternative implementations were considered?
Are there relevant PRs or issues in other repositories (Substrate, Polkadot, Frontier, Cumulus)?
What value does it bring to the blockchain users?