Skip to content

Commit 622b5b3

Browse files
committed
sort dep in cargo
1 parent ad43983 commit 622b5b3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
members = [
33
"integration-tests",
44
"node",
5-
"pallets/subtensor",
65
"pallets/commitments",
6+
"pallets/subtensor",
77
"runtime",
88
]
99
resolver = "2"

runtime/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ impl pallet_multisig::Config for Runtime {
500500
// Proxy Pallet config
501501
parameter_types! {
502502
// One storage item; key size sizeof(AccountId) = 32, value sizeof(Balance) = 8; 40 total
503-
pub const ProxyDepositBase: Balance = deposit(1, 40);;
503+
pub const ProxyDepositBase: Balance = deposit(1, 40);
504504
// Adding 32 bytes + sizeof(ProxyType) = 32 + 1
505505
pub const ProxyDepositFactor: Balance = deposit(0, 33);
506506
pub const MaxProxies: u32 = 20; // max num proxies per acct
@@ -663,8 +663,8 @@ impl pallet_scheduler::Config for Runtime {
663663

664664
parameter_types! {
665665
pub const PreimageMaxSize: u32 = 4096 * 1024;
666-
pub const PreimageBaseDeposit: Balance = (2) as Balance * 2_000 * 10_000_000 + (64 as Balance) * 100 * 1_000_000;
667-
pub const PreimageByteDeposit: Balance = (0) as Balance * 2_000 * 10_000_000 + (1 as Balance) * 100 * 1_000_000;
666+
pub const PreimageBaseDeposit: Balance = deposit(2, 64);
667+
pub const PreimageByteDeposit: Balance = deposit(0, 1);
668668
}
669669

670670
impl pallet_preimage::Config for Runtime {

0 commit comments

Comments
 (0)