Skip to content

Commit

Permalink
WIP: add byte deposit
Browse files Browse the repository at this point in the history
  • Loading branch information
dkuanyshbaev committed Dec 3, 2024
1 parent d97a9f8 commit 428d1d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/dev/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ parameter_types! {
pub const BasicDeposit: Balance = 10 * XRT; // 258 bytes on-chain
pub const FieldDeposit: Balance = 250 * COASE; // 66 bytes on-chain
pub const SubAccountDeposit: Balance = 2 * XRT; // 53 bytes on-chain
//pub const ByteDeposit: Balance = deposit(0, 1);
pub const ByteDeposit: Balance = deposit(0, 1); // ???
pub const MaxSubAccounts: u32 = 100;
pub const MaxAdditionalFields: u32 = 100;
pub const MaxRegistrars: u32 = 20;
Expand All @@ -380,7 +380,7 @@ impl pallet_identity::Config for Runtime {
type RegistrarOrigin = MoreThanHalfTechnicals;
type WeightInfo = ();

//type ByteDeposit = ByteDeposit;
type ByteDeposit = ByteDeposit;
type SubAccountDeposit = SubAccountDeposit;
type IdentityInformation = IdentityInfo<MaxAdditionalFields>;
type OffchainSignature = Signature;
Expand Down

0 comments on commit 428d1d2

Please sign in to comment.