-
Notifications
You must be signed in to change notification settings - Fork 107
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
Sno 136 v0.9.12 upgrade #534
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 so far. I've reviewed and found a few things, besides my other comments:
- The
#[pallet::metadata()]
macro has been deprecated and should no longer be used to decoratepub enum Event
in pallets. - When implementing the
frame_system::Config
trait in the runtimes and mocks for tests, theBaseCallFilter
type should beframe_support::traits::Everything
instead of()
. - The
MessageId
type in theprimitives/core
library should haveTypeInfo
implemented. - In all crates that depend on
serde
andcodec
, bump the versions as follows to match Substrate:
serde = { version = "1.0.130", optional = true }
codec = { version = "2.2.0", package = "parity-scale-codec", default-features = false, features = ["derive"] }
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 great! Lets get this merged in.
I'm OK with E2E tests not working until GSRPC has been upgraded with Metadata 14. This doesn't block us in any way though, since we can still build previous versions of the blockchain for local and staging.
Resolves: https://linear.app/snowfork/issue/SNO-136/parachain-xcm-v3-support
OperationalFeeMultiplier
is 5.MaxInstructions
is 100.VERSION_DISCOVERY_QUEUE_SIZE
is 100.AdvertisedXcmVersion
is currently set to 3 and probably should be 1.MaxAuthorities
is 32.force_unreserve
default weight is 54_482_000.pallet-randomness-collective-flip
crate.sc-transaction-pool-api
crate. codess58Format
to chain_spec properties. codeAssetTrap
andAssetClaims
(Leaving it set to()
). Template usesPolkadotXcm
. codestart_node_impl
. codestart-services.sh
works after updating @polkadot/api to 6.8.1 because of new metadata format.I am going to upgrade XCM in a follow up commit as this one is a bit large.