Skip to content

Commit

Permalink
fixes test mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
vanderian committed Jan 21, 2025
1 parent fd4c6b1 commit c3f362d
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions pallets/bootstrap/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ impl orml_tokens::Config for Test {
type ReserveIdentifier = [u8; 8];
type CurrencyHooks = ();
type NontransferableTokens = Nothing;
type NontransferableTokensAllowList = Nothing;
}

parameter_types! {
Expand Down
1 change: 1 addition & 0 deletions pallets/crowdloan-rewards/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ impl orml_tokens::Config for Test {
type MaxReserves = ();
type ReserveIdentifier = [u8; 8];
type NontransferableTokens = Nothing;
type NontransferableTokensAllowList = Nothing;
}

parameter_types! {
Expand Down
1 change: 1 addition & 0 deletions pallets/fee-lock/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ impl orml_tokens::Config for Test {
type ReserveIdentifier = [u8; 8];
type CurrencyHooks = ();
type NontransferableTokens = Nothing;
type NontransferableTokensAllowList = Nothing;
}

parameter_types! {
Expand Down
1 change: 1 addition & 0 deletions pallets/issuance/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ impl orml_tokens::Config for Test {
type ReserveIdentifier = [u8; 8];
type CurrencyHooks = ();
type NontransferableTokens = Nothing;
type NontransferableTokensAllowList = Nothing;
}

parameter_types! {
Expand Down
1 change: 1 addition & 0 deletions pallets/market/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ impl orml_tokens::Config for Test {
type ReserveIdentifier = [u8; 8];
type CurrencyHooks = ();
type NontransferableTokens = Nothing;
type NontransferableTokensAllowList = Nothing;
}

parameter_types! {
Expand Down
1 change: 1 addition & 0 deletions pallets/multipurpose-liquidity/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ impl orml_tokens::Config for Test {
type ReserveIdentifier = [u8; 8];
type CurrencyHooks = ();
type NontransferableTokens = Nothing;
type NontransferableTokensAllowList = Nothing;
}

parameter_types! {
Expand Down
1 change: 1 addition & 0 deletions pallets/parachain-staking/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ impl orml_tokens::Config for Test {
type ReserveIdentifier = [u8; 8];
type CurrencyHooks = ();
type NontransferableTokens = Nothing;
type NontransferableTokensAllowList = Nothing;
}

pub struct TokensStakingPassthrough<T: stake::Config>(PhantomData<T>);
Expand Down
1 change: 1 addition & 0 deletions pallets/proof-of-stake/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ impl orml_tokens::Config for Test {
type ReserveIdentifier = [u8; 8];
type CurrencyHooks = ();
type NontransferableTokens = Nothing;
type NontransferableTokensAllowList = Nothing;
}

parameter_types! {
Expand Down
1 change: 1 addition & 0 deletions pallets/rolldown/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ impl orml_tokens::Config for Test {
type ReserveIdentifier = [u8; 8];
type CurrencyHooks = ();
type NontransferableTokens = Nothing;
type NontransferableTokensAllowList = Nothing;
}

mockall::mock! {
Expand Down
1 change: 1 addition & 0 deletions pallets/sequencer-staking/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ impl orml_tokens::Config for Test {
type ReserveIdentifier = [u8; 8];
type CurrencyHooks = ();
type NontransferableTokens = Nothing;
type NontransferableTokensAllowList = Nothing;
}

parameter_types! {
Expand Down
1 change: 1 addition & 0 deletions pallets/stable-swap/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ impl orml_tokens::Config for Test {
type ReserveIdentifier = [u8; 8];
type CurrencyHooks = ();
type NontransferableTokens = Nothing;
type NontransferableTokensAllowList = Nothing;
}

impl swap::Config for Test {
Expand Down
1 change: 1 addition & 0 deletions pallets/xyk/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ impl orml_tokens::Config for Test {
type ReserveIdentifier = [u8; 8];
type CurrencyHooks = ();
type NontransferableTokens = Nothing;
type NontransferableTokensAllowList = Nothing;
}

parameter_types! {
Expand Down

0 comments on commit c3f362d

Please sign in to comment.