mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 04:41:03 +00:00
Companion for substrate#13565 (#2306)
* add default deposit limit * cargo upd
This commit is contained in:
Generated
+263
-261
File diff suppressed because it is too large
Load Diff
@@ -18,6 +18,7 @@ pub const CONTRACTS_DEBUG_OUTPUT: bool = true;
|
|||||||
parameter_types! {
|
parameter_types! {
|
||||||
pub const DepositPerItem: Balance = deposit(1, 0);
|
pub const DepositPerItem: Balance = deposit(1, 0);
|
||||||
pub const DepositPerByte: Balance = deposit(0, 1);
|
pub const DepositPerByte: Balance = deposit(0, 1);
|
||||||
|
pub const DefaultDepositLimit: Balance = deposit(1024, 1024 * 1024);
|
||||||
pub MySchedule: Schedule<Runtime> = Default::default();
|
pub MySchedule: Schedule<Runtime> = Default::default();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -36,6 +37,7 @@ impl Config for Runtime {
|
|||||||
type CallFilter = Nothing;
|
type CallFilter = Nothing;
|
||||||
type DepositPerItem = DepositPerItem;
|
type DepositPerItem = DepositPerItem;
|
||||||
type DepositPerByte = DepositPerByte;
|
type DepositPerByte = DepositPerByte;
|
||||||
|
type DefaultDepositLimit = DefaultDepositLimit;
|
||||||
type WeightPrice = pallet_transaction_payment::Pallet<Self>;
|
type WeightPrice = pallet_transaction_payment::Pallet<Self>;
|
||||||
type WeightInfo = SubstrateWeight<Self>;
|
type WeightInfo = SubstrateWeight<Self>;
|
||||||
type ChainExtension = ();
|
type ChainExtension = ();
|
||||||
|
|||||||
Reference in New Issue
Block a user