-
Notifications
You must be signed in to change notification settings - Fork 378
Lower all Assets / NFT deposits by 10x #1332
Conversation
parachains/runtimes/contracts/contracts-rococo/src/constants.rs
Outdated
Show resolved
Hide resolved
parachains/runtimes/contracts/contracts-rococo/src/constants.rs
Outdated
Show resolved
Hide resolved
TODO on this PR is to also reduce the base deposits which are not controlled by this formula |
Have you made sure that all deposits in all pallets are recorded, so changing this does not break any operation? |
Base deposits are now also updated. This should be good to go. |
@kianenigma checked:
And these seem to be all the affected pallets. |
Would be good to add a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The intent of this PR is really not clear. The title says to lower all deposits, but the description focuses specifically on NFT creation. The code changes lower transaction fees, but not the ED. This really needs more clarity before merging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good now and aligns Statemint/Statemine to have a more consistent experience.
@joepetrowski updated to represent what I want. Specifically to lower all Assets and NFT deposits. To do that, I also modified a function which affects deposits of some other pallets, but that is fine imo. |
bot merge |
* lower all deposits by 10x * undo rococo stuff * Apply suggestions from code review * update asset deposits * align statemint deposit ratios Co-authored-by: joepetrowski <joe@parity.io>
* lower all deposits by 10x * undo rococo stuff * Apply suggestions from code review * update asset deposits * align statemint deposit ratios Co-authored-by: joepetrowski <joe@parity.io> Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com> Co-authored-by: joepetrowski <joe@parity.io>
[This PR](paritytech/cumulus#1332) updated the deposit constants needed to create an asset (and to add the metadata). Therefore the values used in the current version of this page are outdated and wrong.
[This PR](paritytech/cumulus#1332) updated the deposit constants needed to create an asset (and to add the metadata). Therefore the values used in the current version of this page are outdated and wrong.
[This PR](paritytech/cumulus#1332) updated the deposit constants needed to create an asset (and to add the metadata). Therefore the values used in the current version of this page are outdated and wrong.
it is reduced before: paritytech/cumulus#1332 result: https://statemine.subscan.io/extrinsic/4234273-2
This PR lowers all the deposits of Statemine, Statemint, Westmint, and Contracts-Rococo by 10x.
This was decided based on a high level analysis of the cost of NFT deposits compared to other platforms.
This can always be adjusted later back up if needed.
Also fixes an issue where
contracts-rococo
did not use Rococo deposits.