Skip to content

Commit

Permalink
feat: update CodeHashLockupDepositPercent value
Browse files Browse the repository at this point in the history
  • Loading branch information
ashutoshvarma committed Mar 1, 2024
1 parent 8c44754 commit 7439a41
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pallets/xvm/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ parameter_types! {
pub const DepositPerByte: Balance = 1_000;
pub const DefaultDepositLimit: Balance = 1_000;
pub const MaxDelegateDependencies: u32 = 32;
pub const CodeHashLockupDepositPercent: Perbill = Perbill::from_percent(30);
pub const CodeHashLockupDepositPercent: Perbill = Perbill::from_percent(10);
pub Schedule: pallet_contracts::Schedule<TestRuntime> = Default::default();
}

Expand Down
2 changes: 1 addition & 1 deletion runtime/astar/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ parameter_types! {
// Fallback value if storage deposit limit not set by the user
pub const DefaultDepositLimit: Balance = contracts_deposit(16, 16 * 1024);
pub const MaxDelegateDependencies: u32 = 32;
pub const CodeHashLockupDepositPercent: Perbill = Perbill::from_percent(30);
pub const CodeHashLockupDepositPercent: Perbill = Perbill::from_percent(10);
pub Schedule: pallet_contracts::Schedule<Runtime> = Default::default();
}

Expand Down
2 changes: 1 addition & 1 deletion runtime/local/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ parameter_types! {
// Fallback value if storage deposit limit not set by the user
pub const DefaultDepositLimit: Balance = deposit(16, 16 * 1024);
pub const MaxDelegateDependencies: u32 = 32;
pub const CodeHashLockupDepositPercent: Perbill = Perbill::from_percent(30);
pub const CodeHashLockupDepositPercent: Perbill = Perbill::from_percent(10);
pub Schedule: pallet_contracts::Schedule<Runtime> = Default::default();
}

Expand Down
2 changes: 1 addition & 1 deletion runtime/shibuya/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ parameter_types! {
// Fallback value if storage deposit limit not set by the user
pub const DefaultDepositLimit: Balance = contracts_deposit(16, 16 * 1024);
pub const MaxDelegateDependencies: u32 = 32;
pub const CodeHashLockupDepositPercent: Perbill = Perbill::from_percent(30);
pub const CodeHashLockupDepositPercent: Perbill = Perbill::from_percent(10);
pub Schedule: pallet_contracts::Schedule<Runtime> = Default::default();
}

Expand Down
2 changes: 1 addition & 1 deletion runtime/shiden/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ parameter_types! {
// Fallback value if storage deposit limit not set by the user
pub const DefaultDepositLimit: Balance = contracts_deposit(16, 16 * 1024);
pub const MaxDelegateDependencies: u32 = 32;
pub const CodeHashLockupDepositPercent: Perbill = Perbill::from_percent(30);
pub const CodeHashLockupDepositPercent: Perbill = Perbill::from_percent(10);
pub Schedule: pallet_contracts::Schedule<Runtime> = Default::default();
}

Expand Down
2 changes: 1 addition & 1 deletion tests/xcm-simulator/src/mocks/parachain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ parameter_types! {
pub const DepositPerByte: Balance = MILLISDN / 1_000_000;
pub const DefaultDepositLimit: Balance = 1000 * MILLISDN;
pub const MaxDelegateDependencies: u32 = 32;
pub const CodeHashLockupDepositPercent: Perbill = Perbill::from_percent(30);
pub const CodeHashLockupDepositPercent: Perbill = Perbill::from_percent(10);
pub Schedule: pallet_contracts::Schedule<Runtime> = Default::default();
}

Expand Down

0 comments on commit 7439a41

Please sign in to comment.