-
Notifications
You must be signed in to change notification settings - Fork 8
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
polkadot-v0.9.32 #172
polkadot-v0.9.32 #172
Conversation
@@ -201,53 +206,31 @@ parameter_types! { | |||
} | |||
|
|||
impl frame_system::Config for Runtime { | |||
/// The identifier used to distinguish between accounts. |
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.
Removed the bad documentation and re-order the definitions to be the same as the upstream statemine runtime.
pub UnvestedFundsAllowedWithdrawReasons: WithdrawReasons = | ||
WithdrawReasons::except(WithdrawReasons::TRANSFER | WithdrawReasons::RESERVE); |
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.
Todo: double-check this config. It is taken from integritee-network/integritee-node#159
type MaxDeposits = ConstU32<100>; | ||
type MaxBlacklisted = ConstU32<100>; |
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.
Taken from statemine.
@@ -699,6 +698,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, | |||
Preimage: pallet_preimage = 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.
Todo: double check if we have never used index 5 to be sure that we don't have a storage hash collision.
impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentCallApi<Block, Balance, RuntimeCall> | ||
for Runtime | ||
{ | ||
fn query_call_info( | ||
call: RuntimeCall, | ||
len: u32, | ||
) -> pallet_transaction_payment::RuntimeDispatchInfo<Balance> { | ||
TransactionPayment::query_call_info(call, len) | ||
} | ||
fn query_call_fee_details( | ||
call: RuntimeCall, | ||
len: u32, | ||
) -> pallet_transaction_payment::FeeDetails<Balance> { | ||
TransactionPayment::query_call_fee_details(call, len) | ||
} | ||
} |
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.
Todo: check why we never had this, it does not make sense for me.
#[cfg(feature = "try-runtime")] | ||
impl frame_try_runtime::TryRuntime<Block> for Runtime { |
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.
Useful testing feature to perform a runtime upgrade in cargo test. We should finally use this feature!
@@ -45,18 +45,6 @@ impl<T: frame_system::Config> pallet_multisig::WeightInfo for WeightInfo<T> { | |||
.saturating_add(T::DbWeight::get().writes(1)) |
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.
All the weight files are copied and pasted from the kusama runtime. We need to run the benchmarks again before deployment.
@@ -20,7 +20,7 @@ use std::path::PathBuf; | |||
#[derive(Debug, clap::Subcommand)] | |||
pub enum Subcommand { | |||
/// Key management CLI utilities | |||
#[clap(subcommand)] | |||
#[command(subcommand)] |
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.
Due to clap dependency update
@@ -314,15 +308,15 @@ parameter_types! { | |||
|
|||
pub struct XcmConfig; |
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.
Remember we need to update the XCM config for the slot swap as the current settings do not allow the shell runtime to send xcm messages: #160
Closing in favor of #176 |
Todo:
Subwasm fails to load the metadata. Reasons unknown. Updating subwasm to 0.18.0 did not help. See this discussion for more information: integritee-network/integritee-node#159 (comment)