Skip to content

Commit

Permalink
fix: inline single use constant
Browse files Browse the repository at this point in the history
  • Loading branch information
evilrobot-01 committed Feb 24, 2024
1 parent a1ff395 commit 0ebae6f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions runtime/src/contracts_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ parameter_types! {
pub Schedule: pallet_contracts::Schedule<Runtime> = schedule::<Runtime>();
pub const DefaultDepositLimit: Balance = deposit(1024, 1024 * 1024);
pub const CodeHashLockupDepositPercent: Perbill = Perbill::from_percent(0);
pub const MaxDelegateDependencies: u32 = 32;
}

impl pallet_contracts::Config for Runtime {
Expand Down Expand Up @@ -88,7 +87,7 @@ impl pallet_contracts::Config for Runtime {
type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>;
type UnsafeUnstableInterface = ConstBool<true>;
type CodeHashLockupDepositPercent = CodeHashLockupDepositPercent;
type MaxDelegateDependencies = MaxDelegateDependencies;
type MaxDelegateDependencies = ConstU32<32>;
type RuntimeHoldReason = RuntimeHoldReason;

type Environment = ();
Expand Down

0 comments on commit 0ebae6f

Please sign in to comment.