Skip to content

Commit

Permalink
'#[frame_construct_runtime]' rather than '#[crate::runtime]'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan-Jan committed Sep 19, 2024
1 parent a46d14b commit 98b756b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/minimal/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ type SignedExtra = (
);

// Composes the runtime by adding all the used pallets and deriving necessary types.
#[crate::runtime]
#[frame_construct_runtime]
mod runtime {
/// The main runtime type.
#[runtime::runtime]
Expand Down
2 changes: 1 addition & 1 deletion templates/solochain/pallets/template/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use sp_runtime::BuildStorage;

type Block = frame_system::mocking::MockBlock<Test>;

#[crate::runtime]
#[frame_construct_runtime]
mod runtime {
// The main runtime
#[runtime::runtime]
Expand Down

0 comments on commit 98b756b

Please sign in to comment.