Skip to content

Commit

Permalink
fix more missing mock value
Browse files Browse the repository at this point in the history
  • Loading branch information
JCSanPedro committed Feb 24, 2025
1 parent 1c85d99 commit 8c029a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pallet/nfi/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ parameter_types! {
pub const FeePotId: PalletId = PalletId(*b"txfeepot");
pub const MarketplaceNetworkFeePercentage: Permill = Permill::from_perthousand(5);
pub const DefaultFeeTo: Option<PalletId> = None;
pub const MaxPendingIssuances: u32 = 10_000;
}

impl pallet_nft::Config for Test {
Expand All @@ -59,6 +60,7 @@ impl pallet_nft::Config for Test {
type WeightInfo = ();
type Xls20MintRequest = ();
type NFIRequest = Nfi;
type MaxPendingIssuances = MaxPendingIssuances;
}

parameter_types! {
Expand Down
2 changes: 2 additions & 0 deletions pallet/nft-peg/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ parameter_types! {
pub const MaxIdsPerMultipleMint: u32 = 50;
pub const MaxCollectionsPerWithdraw: u32 = 10;
pub const MaxSerialsPerWithdraw: u32 = 50;
pub const MaxPendingIssuances: u32 = 10_000;
}

impl pallet_nft_peg::Config for Test {
Expand All @@ -55,6 +56,7 @@ impl pallet_nft_peg::Config for Test {
type MaxCollectionsPerWithdraw = MaxCollectionsPerWithdraw;
type MaxSerialsPerWithdraw = MaxSerialsPerWithdraw;
type NFTMinter = Nft;
type MaxPendingIssuances = MaxPendingIssuances;
}

/// Mock ethereum bridge
Expand Down

0 comments on commit 8c029a4

Please sign in to comment.