Skip to content
Snippets Groups Projects
Unverified Commit 62f8a478 authored by bgallois's avatar bgallois
Browse files

fix pallet-balance errors

parent da06c5f7
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ use crate::{self as pallet_oneshot_account};
use frame_support::{parameter_types, traits::Everything, weights::IdentityFee};
use frame_system as system;
use pallet_transaction_payment::CurrencyAdapter;
use sp_core::H256;
use sp_core::{ConstU32, H256};
use sp_runtime::{
testing::Header,
traits::{BlakeTwo256, IdentityLookup},
......@@ -91,6 +91,10 @@ impl pallet_balances::Config for Test {
type MaxReserves = ();
type ReserveIdentifier = [u8; 8];
type RuntimeEvent = RuntimeEvent;
type HoldIdentifier = ();
type FreezeIdentifier = ();
type MaxHolds = ConstU32<0>;
type MaxFreezes = ConstU32<0>;
}
impl pallet_transaction_payment::Config for Test {
type RuntimeEvent = RuntimeEvent;
......
......@@ -21,7 +21,7 @@ use frame_support::{
traits::{Everything, OnFinalize, OnInitialize},
};
use frame_system as system;
use sp_core::H256;
use sp_core::{ConstU32, H256};
use sp_runtime::{
testing::Header,
traits::{BlakeTwo256, IdentityLookup},
......@@ -93,6 +93,10 @@ impl pallet_balances::Config for Test {
type MaxReserves = ();
type ReserveIdentifier = [u8; 8];
type RuntimeEvent = RuntimeEvent;
type HoldIdentifier = ();
type FreezeIdentifier = ();
type MaxHolds = ConstU32<0>;
type MaxFreezes = ConstU32<0>;
}
parameter_types! {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment