Companion for substrate#13565 (#2306)

* add default deposit limit

* cargo upd
This commit is contained in:
Sasha Gryaznov authored and GitHub committed 2023-04-26 13:20:55 +00:00
1 parent 263ebdf6e0
commit db74a62c77
2 files changed
+265 -261

No files matched your search

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 = ();