EOSIO / eos

An open source smart contract platform
https://developers.eos.io/manuals/eos
MIT License
11.27k stars 3.6k forks source link

how to change the decimal digits setting? #5801

Closed neozju closed 6 years ago

neozju commented 6 years ago

my default decimal digits setting is 2,please tell me how to fix it to 4?

cleos transfer tom jerry "0.0001 EOS" Error 3010014: Invalid symbol Error Details: Too many decimal digits in 0.0001 EOS, only 2 supported

jgiszczak commented 6 years ago

Once you have created and issued a token, its precision can not be changed. You will need to create and issue a different token using the desired precision in order to do testing with the expected level of precision. If you want a different precision for your existing EOS token, you will need to use the --delete argument to nodeos to start over with a new chain, including recreating all the system accounts and setting the system contracts.