eos icon indicating copy to clipboard operation
eos copied to clipboard

system newaccount => to account does not exist

Open maxb14 opened this issue 8 years ago • 4 comments

Hello, the following command :

$> cloes system newaccount eosio testnet xxxxkey xxxxxkey —stake-net "100.00 SYS" —stake-cpu "100.00 SYS"

return this error:

—---------------- 2162366ms thread-0 main.cpp:429 create_action ] result: {"binargs":"0000000000ea305500000020ab99b1ca00200000"} arg: {"code":"eosio","action":"buyrambytes","args":{"payer":"eosio","receiver":"testnet","bytes":8192}} 2162374ms thread-0 main.cpp:429 create_action ] result: {"binargs":"0000000000ea305500000020ab99b1ca40420f0000000000045359530000000040420f0000000000045359530000000000"} arg: {"code":"eosio","action":"delegatebw","args":{"from":"eosio","receiver":"testnet","stake_net_quantity":"100.0000 SYS","stake_cpu_quantity":"100.0000 SYS","transfer":false}} Error 3050003: eosio_assert_message assertion failure Error Details: assertion failure with message: to account does not exist —----------------

This message is stupid, it is normal that the account does not exist since I want to create it

maxb14 avatar Jun 01 '18 10:06 maxb14

Do you have eosio.ram, eosio.ramfee, and eosio.stake accounts created?

zorba80 avatar Jun 01 '18 15:06 zorba80

if eosio.ram, eosio.ramfee, and eosio.stake are not created before enable eosio.system, how can we create these userids? or how to disable eosio.system contract first?

liliyongleo avatar Jun 27 '18 01:06 liliyongleo

There's a work-around that you can set another contract except 'eosio.system' with eosio. Then eosio's code has been changed. After that, you can create eosio.* accounts. Then you can set system contract with eosio and try to 'system newaccount' operation again, it should be work.

Elliot438b avatar Jun 27 '18 07:06 Elliot438b

As @zorba80 said, you need to create the eosio.ram, eosio.ramfee, and eosio.stake accounts to create a new account after uploading the system contract. Otherwise, it will complain that the above accounts do not exist.

andriantolie avatar Oct 30 '18 07:10 andriantolie