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

Qb 1417 token precision loss #183

Merged
merged 3 commits into from
Oct 25, 2022
Merged

Qb 1417 token precision loss #183

merged 3 commits into from
Oct 25, 2022

Conversation

Xiong-stratos
Copy link
Contributor

@Xiong-stratos Xiong-stratos commented Oct 21, 2022

QB-1399 should be merged first.

1, Change unit of the STOS: 1 STOS = 10^18wei = 10^9Gwei
2, Support different token unit as parameter and convert to wei automatically
3, Rename uoz to noz

PS:
Genesis file change:
1, use initial_noz_price to replace initial_uoz_price in genesis file.
2, bond_denom should set "wei" instead of "ustos"

Genesis meta node json change:
use coin string such as "0.1stos" or "10000000gwei" instead of integer string "100000000" in"tokens" field.

2, remove unused errors
2, Support different token unit as parameter and convert to wei automatically
@alexstratos alexstratos merged commit 6468aac into dev Oct 25, 2022
@alexstratos alexstratos deleted the QB-1417_Token_precision_loss branch October 25, 2022 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants