Skip to content

Commit

Permalink
Fixes build
Browse files Browse the repository at this point in the history
  • Loading branch information
gupnik committed Mar 12, 2024
1 parent 0147407 commit 92f1a89
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion substrate/frame/support/src/tests/inject_runtime_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ fn derive_impl_works_with_runtime_type_injection() {
fn derive_impl_works_with_no_aggregated_types() {
struct DummyRuntime;

#[derive_impl(super::frame_system::config_preludes::TestDefaultConfig, no_aggregated_types)]
#[derive_impl(
super::frame_system::config_preludes::TestDefaultConfig as super::frame_system::DefaultConfig,
no_aggregated_types
)]
impl Config for DummyRuntime {
type Block = super::Block;
type AccountId = super::AccountId;
Expand Down
2 changes: 1 addition & 1 deletion substrate/frame/support/src/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ crate::construct_runtime!(
}
);

#[crate::derive_impl(self::frame_system::config_preludes::TestDefaultConfig)]
#[crate::derive_impl(self::frame_system::config_preludes::TestDefaultConfig as self::frame_system::DefaultConfig)]
impl Config for Runtime {
type Block = Block;
type AccountId = AccountId;
Expand Down

0 comments on commit 92f1a89

Please sign in to comment.