-
Notifications
You must be signed in to change notification settings - Fork 337
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
upgrade substrate to v0.9.37 #2072
Conversation
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...
@@ -1211,6 +1216,7 @@ construct_runtime! { | |||
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()
.AssetDetails
new fieldstatus
in lieu ofis_frozen
.DestroyWitness
parameter.RemoveItemsLimit
to config.moonbeam
.CreateOrigin
to Assets Pallet paritytech/substrate#12586CreateOrigin
moonbeam
.CallbackHandle
moonbeam
.AssetId
resulting from the removal ofHasCompact
trait boundAssetIdParameter
moonbeam
.Inherents
InherentDataProvider::create_inherent_data()
is nowasync
nimbus
.InherentDataProvider::provide_inherent_data()
is nowasync
nimbus
.Others
#[pallet::call_index]
attribute to dispatchables.pallet_balances
itemInactiveIssuance
.pallet_balances
was missing to set the storage_version attribute for the Pallet struct. Besides that it also removes the old StorageVersion representation.pallet_balances
storage itemStorageVersion
.root_testing
pallet paritytech/substrate#12451system.fillBlock()
topallet-root-testing
Polkadot
ParaGenesisArgs
fieldparachain: bool
by enum fieldpara_kind: ParaKind
xcm_mocks
moonbeam
.Cumulus
ParachainBlockImport
now includesBlock
andBackend
parametersnimbus
.sc-network
paritytech/substrate#12764SharedImportQueue
in favor ofImportQueueService
.nimbus
.Nimbus
Frontier
Refactor
BlockId::Number
in favor ofBlockId::Hash
paritytech/polkadot-sdk#53
Backend::StorageProvider
ProofProvider
Finalizer
BlockId
removal: refactor:HeaderBackend::header
paritytech/substrate#12874HeaderBackend::status|header
BlockBackend::block|block_status
Backend::justifications
Others
rpc_binary_search_estimate
=>rpc-binary-search-estimate
Moonbeam
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?