Skip to content

Commit

Permalink
Add OnSetCode config param
Browse files Browse the repository at this point in the history
Related Substrate PR: paritytech/substrate#8496
  • Loading branch information
HCastano committed Apr 6, 2021
1 parent 4cf5f75 commit dd42d15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/millau/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ impl frame_system::Config for Runtime {
type DbWeight = DbWeight;
/// The designated SS58 prefix of this chain.
type SS58Prefix = SS58Prefix;
/// The set code logic, just the default since we're not a parachain.
type OnSetCode = ();
}

impl pallet_aura::Config for Runtime {
Expand Down
2 changes: 2 additions & 0 deletions bin/rialto/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,8 @@ impl frame_system::Config for Runtime {
type DbWeight = DbWeight;
/// The designated SS58 prefix of this chain.
type SS58Prefix = SS58Prefix;
/// The set code logic, just the default since we're not a parachain.
type OnSetCode = ();
}

impl pallet_aura::Config for Runtime {
Expand Down

0 comments on commit dd42d15

Please sign in to comment.