Companion for substrate#13565 (#2306)

* add default deposit limit

* cargo upd
This commit is contained in:
Sasha Gryaznov
2023-04-26 16:20:55 +03:00
committed by GitHub
parent 263ebdf6e0
commit db74a62c77
2 changed files with 265 additions and 261 deletions
Generated
+263 -261
View File
File diff suppressed because it is too large Load Diff
@@ -18,6 +18,7 @@ pub const CONTRACTS_DEBUG_OUTPUT: bool = true;
parameter_types! {
pub const DepositPerItem: Balance = deposit(1, 0);
pub const DepositPerByte: Balance = deposit(0, 1);
pub const DefaultDepositLimit: Balance = deposit(1024, 1024 * 1024);
pub MySchedule: Schedule<Runtime> = Default::default();
}
@@ -36,6 +37,7 @@ impl Config for Runtime {
type CallFilter = Nothing;
type DepositPerItem = DepositPerItem;
type DepositPerByte = DepositPerByte;
type DefaultDepositLimit = DefaultDepositLimit;
type WeightPrice = pallet_transaction_payment::Pallet<Self>;
type WeightInfo = SubstrateWeight<Self>;
type ChainExtension = ();