Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

polkadot-like testnets should be 10 decimal places #5369

Merged
merged 6 commits into from
Apr 25, 2022

Conversation

gilescope
Copy link
Contributor

Polkadot-like test networks should report to their UIs in the metadata that they are 10 decimal places (not the default of 12).

(It gets really confusing when trying to teleport to a test statemint and surprisingly get 100 times more tokens than you were expecting! I know that won't happen when we release to production but I'd feel much happier with a PR like this added.)

@github-actions github-actions bot added the A0-please_review Pull request needs code review. label Apr 21, 2022
@gilescope gilescope added B1-releasenotes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit. labels Apr 21, 2022
@gilescope
Copy link
Contributor Author

We could add in a property to set the token name from UNIT to maybe TDOT for test dot? I can see why people might not want it to be DOT so it's not confused with the mainnet but it couldn't hurt to be something different to the UNIT that it's less confused with the UNIT on the kusama testnets.

node/service/src/chain_spec.rs Outdated Show resolved Hide resolved
@gilescope
Copy link
Contributor Author

bot merge

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants