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

fix!: set DOLLARS constant to correct number #200

Merged
merged 1 commit into from
Apr 6, 2021
Merged

Conversation

jak-pan
Copy link
Contributor

@jak-pan jak-pan commented Apr 5, 2021

We've set wrong DOLLARS constant the transactions are too cheap and the storage for identities is 0.05$ instead of 5$

@jak-pan
Copy link
Contributor Author

jak-pan commented Apr 5, 2021

Please try to re-test this. What happens with already set identities?

@jak-pan jak-pan changed the title fix!: DOLLARS constant set to correct number fix!: set DOLLARS constant to correct number Apr 5, 2021
@Roznovjak
Copy link
Contributor

It's safe to update the DOLLARS constant. Identity pallet stores a deposit value for each account and this value is returned when you are no longer interested in using this feature. When you decide to update your data, the difference is reserved( newly calculated deposit - what is already deposited). The previous 'pattern" is also used in the Treasury pallet and the Elections phragmen pallet (where is the DOLLARS constant variable also used). It has been tested for the identity pallet, the updated storage price for identities is 50 HDX = 5$ ( as expected ).

@jak-pan jak-pan merged commit 77cebb5 into master Apr 6, 2021
@mrq1911 mrq1911 deleted the jak-pan-patch-1 branch April 6, 2021 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants