Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set NftsMetadataDepositBase, NftsAttributeDepositBase and NftsDepositPerByte to 0 #145

Merged
merged 2 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions runtime/mainnet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -607,12 +607,11 @@ impl pallet_collective::Config<CouncilCollective> for Runtime {
parameter_types! {
pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
//TODO: Set NftCollectionDeposit and NftItemDeposit to EXISTENTIAL_DEPOSIT after migration
pub const NftsCollectionDeposit: Balance = 0;
pub const NftsItemDeposit: Balance = 0;
pub const NftsMetadataDepositBase: Balance = deposit(1, 129);
pub const NftsAttributeDepositBase: Balance = deposit(1, 0);
pub const NftsDepositPerByte: Balance = deposit(0, 1);
pub const NftsMetadataDepositBase: Balance = 0;
pub const NftsAttributeDepositBase: Balance = 0;
pub const NftsDepositPerByte: Balance = 0;
}

pub type CollectionId = IncrementableU256;
Expand Down
7 changes: 3 additions & 4 deletions runtime/testnet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -589,12 +589,11 @@ impl pallet_collator_selection::Config for Runtime {
parameter_types! {
pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
//TODO: Set NftCollectionDeposit and NftItemDeposit to EXISTENTIAL_DEPOSIT after migration
pub const NftsCollectionDeposit: Balance = 0;
pub const NftsItemDeposit: Balance = 0;
pub const NftsMetadataDepositBase: Balance = deposit(1, 129);
pub const NftsAttributeDepositBase: Balance = deposit(1, 0);
pub const NftsDepositPerByte: Balance = deposit(0, 1);
pub const NftsMetadataDepositBase: Balance = 0;
pub const NftsAttributeDepositBase: Balance = 0;
pub const NftsDepositPerByte: Balance = 0;
}

pub type CollectionId = IncrementableU256;
Expand Down
Loading