mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
Companion PR for contracts delegate deposit PR (#2913)
* Companion PR for https://github.com/paritytech/substrate/pull/14079 * update lockfile for {"substrate", "polkadot"} --------- Co-authored-by: parity-processbot <>
This commit is contained in:
Generated
+196
-196
File diff suppressed because it is too large
Load Diff
@@ -10,6 +10,7 @@ use pallet_contracts::{
|
||||
migration::v12, weights::SubstrateWeight, Config, DebugInfo, DefaultAddressGenerator, Frame,
|
||||
Schedule,
|
||||
};
|
||||
use sp_runtime::Perbill;
|
||||
|
||||
pub use parachains_common::AVERAGE_ON_INITIALIZE_RATIO;
|
||||
|
||||
@@ -22,6 +23,7 @@ parameter_types! {
|
||||
pub const DepositPerByte: Balance = deposit(0, 1);
|
||||
pub const DefaultDepositLimit: Balance = deposit(1024, 1024 * 1024);
|
||||
pub MySchedule: Schedule<Runtime> = Default::default();
|
||||
pub CodeHashLockupDepositPercent: Perbill = Perbill::from_percent(30);
|
||||
}
|
||||
|
||||
impl Config for Runtime {
|
||||
@@ -50,5 +52,7 @@ impl Config for Runtime {
|
||||
type MaxStorageKeyLen = ConstU32<128>;
|
||||
type UnsafeUnstableInterface = ConstBool<true>;
|
||||
type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>;
|
||||
type MaxDelegateDependencies = ConstU32<32>;
|
||||
type CodeHashLockupDepositPercent = CodeHashLockupDepositPercent;
|
||||
type Migrations = (v12::Migration<Runtime>,);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user