Unverified Commit d77262d6 authored by Gavin Wood's avatar Gavin Wood Committed by GitHub
Browse files

Companion for OnSetCode #8496 (#2794)

* Make build with OnSetCode

* Fixes

* update Substrate

Co-authored-by: parity-processbot <>
parent e8050450
Pipeline #132280 failed with stages
in 15 minutes and 43 seconds
This diff is collapsed.
......@@ -199,6 +199,7 @@ impl frame_system::Config for Runtime {
type DbWeight = DbWeight;
/// The designated SS58 prefix of this chain.
type SS58Prefix = SS58Prefix;
type OnSetCode = ();
}
impl pallet_aura::Config for Runtime {
......
......@@ -207,6 +207,7 @@ impl frame_system::Config for Runtime {
type DbWeight = DbWeight;
/// The designated SS58 prefix of this chain.
type SS58Prefix = SS58Prefix;
type OnSetCode = ();
}
impl pallet_aura::Config for Runtime {
......
......@@ -486,6 +486,7 @@ mod tests {
type BlockLength = ();
type DbWeight = ();
type SS58Prefix = ();
type OnSetCode = ();
}
impl Config for TestRuntime {
......
......@@ -361,6 +361,7 @@ mod tests {
type BlockLength = ();
type DbWeight = ();
type SS58Prefix = ();
type OnSetCode = ();
}
impl Config for TestRuntime {
......
......@@ -79,6 +79,7 @@ impl frame_system::Config for TestRuntime {
type BlockLength = ();
type DbWeight = ();
type SS58Prefix = ();
type OnSetCode = ();
}
parameter_types! {
......
......@@ -77,6 +77,7 @@ impl frame_system::Config for TestRuntime {
type BlockWeights = ();
type BlockLength = ();
type SS58Prefix = ();
type OnSetCode = ();
}
impl pallet_substrate_bridge::Config for TestRuntime {
......
......@@ -100,6 +100,7 @@ impl frame_system::Config for TestRuntime {
type BlockLength = ();
type DbWeight = ();
type SS58Prefix = ();
type OnSetCode = ();
}
parameter_types! {
......
......@@ -145,6 +145,7 @@ mod tests {
type BlockLength = ();
type DbWeight = ();
type SS58Prefix = ();
type OnSetCode = ();
}
parameter_types! {
......
......@@ -82,6 +82,7 @@ impl frame_system::Config for TestRuntime {
type BlockWeights = ();
type BlockLength = ();
type SS58Prefix = ();
type OnSetCode = ();
}
impl Config for TestRuntime {
......
......@@ -662,6 +662,7 @@ mod tests {
type OnKilledAccount = ();
type SystemWeightInfo = ();
type SS58Prefix = ();
type OnSetCode = ();
}
parameter_types! {
......
......@@ -657,6 +657,7 @@ mod tests {
type OnKilledAccount = ();
type SystemWeightInfo = ();
type SS58Prefix = ();
type OnSetCode = ();
}
parameter_types! {
......
......@@ -747,6 +747,7 @@ mod tests {
type OnKilledAccount = ();
type SystemWeightInfo = ();
type SS58Prefix = ();
type OnSetCode = ();
}
parameter_types! {
......
......@@ -127,6 +127,7 @@ mod tests {
type OnKilledAccount = ();
type SystemWeightInfo = ();
type SS58Prefix = ();
type OnSetCode = ();
}
impl pallet_balances::Config for Test {
......
......@@ -107,6 +107,7 @@ impl frame_system::Config for Test {
type OnKilledAccount = ();
type SystemWeightInfo = ();
type SS58Prefix = ();
type OnSetCode = ();
}
parameter_types! {
......
......@@ -250,6 +250,7 @@ mod multiplier_tests {
type OnKilledAccount = ();
type SystemWeightInfo = ();
type SS58Prefix = ();
type OnSetCode = ();
}
fn run_with_system_weight<F>(w: Weight, mut assertions: F) where F: FnMut() -> () {
......
......@@ -466,6 +466,7 @@ mod tests {
type OnKilledAccount = ();
type SystemWeightInfo = ();
type SS58Prefix = ();
type OnSetCode = ();
}
parameter_types! {
......
......@@ -449,6 +449,7 @@ mod tests {
type OnKilledAccount = ();
type SystemWeightInfo = ();
type SS58Prefix = ();
type OnSetCode = ();
}
parameter_types! {
......
......@@ -502,6 +502,7 @@ mod tests {
type OnKilledAccount = ();
type SystemWeightInfo = ();
type SS58Prefix = ();
type OnSetCode = ();
}
parameter_types! {
......
......@@ -159,6 +159,7 @@ impl frame_system::Config for Runtime {
type OnKilledAccount = ();
type SystemWeightInfo = weights::frame_system::WeightInfo<Runtime>;
type SS58Prefix = SS58Prefix;
type OnSetCode = ();
}
parameter_types! {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment