eos icon indicating copy to clipboard operation
eos copied to clipboard

cleos system newaccount failed with "to account does not exist" error message

Open spartucus opened this issue 8 years ago • 8 comments

Ubuntu:~/eos/build/contracts$ cleos get code eosio
code hash: 0d8e86f43a2ce1161c14a6da3d6acbfbfea4b85e427678028d06280f238cd54d
Ubuntu:~/eos/build/contracts$ cleos get table eosio.token eosio accounts
{
  "rows": [{
      "balance": "1000000000.0000 SYS"
    }
  ],
  "more": false
}
Ubuntu:~/eos/build/contracts$ cleos system newaccount eosio tester EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV --stake-net "10.0000 SYS" --stake-cpu "10.0000 SYS"
3203622ms thread-0   main.cpp:429                  create_action        ] result: {"binargs":"0000000000ea3055000000005c95b1ca00200000"} arg: {"code":"eosio","action":"buyrambytes","args":{"payer":"eosio","receiver":"tester","bytes":8192}} 
3203625ms thread-0   main.cpp:429                  create_action        ] result: {"binargs":"0000000000ea3055000000005c95b1caa0860100000000000453595300000000a086010000000000045359530000000000"} arg: {"code":"eosio","action":"delegatebw","args":{"from":"eosio","receiver":"tester","stake_net_quantity":"10.0000 SYS","stake_cpu_quantity":"10.0000 SYS","transfer":false}} 
Error 3050003: eosio_assert_message assertion failure
Error Details:
assertion failure with message: to account does not exist

tester failed, mybe need 12 chars ?using testtesttest

Ubuntu:~/eos/build/contracts$ cleos system newaccount eosio testtesttest EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV --stake-net "10.0000 SYS" --stake-cpu "10.0000 SYS"
3208199ms thread-0   main.cpp:429                  create_action        ] result: {"binargs":"0000000000ea305590b1ca19ab9cb1ca00200000"} arg: {"code":"eosio","action":"buyrambytes","args":{"payer":"eosio","receiver":"testtesttest","bytes":8192}} 
3208202ms thread-0   main.cpp:429                  create_action        ] result: {"binargs":"0000000000ea305590b1ca19ab9cb1caa0860100000000000453595300000000a086010000000000045359530000000000"} arg: {"code":"eosio","action":"delegatebw","args":{"from":"eosio","receiver":"testtesttest","stake_net_quantity":"10.0000 SYS","stake_cpu_quantity":"10.0000 SYS","transfer":false}} 
Error 3050003: eosio_assert_message assertion failure
Error Details:
assertion failure with message: to account does not exist

nope, still failed.

Ubuntu:~/eos/build/contracts$ git log
commit 60231e3e906776440b78be4b14acb94a9968721f (HEAD -> master, origin/master, origin/HEAD)
Merge: e5654dde0 ab063f00d
Author: Daniel Larimer <[email protected]>
Date:   Fri May 25 01:31:19 2018 -0400

    Merge pull request #3402 from jafri/revert-3401-master
    
    Revert "Update boost 1_66 to 1_67"

spartucus avatar May 25 '18 11:05 spartucus

The following accounts need to be created before you can use eosio.system contract via cleos system newaccount to create accounts:

systemAccounts = [
    'eosio.bpay',
    'eosio.msig',
    'eosio.names',
    'eosio.ram',
    'eosio.ramfee',
    'eosio.saving',
    'eosio.stake',
    'eosio.token',
    'eosio.upay',
]

heifner avatar May 25 '18 12:05 heifner

Thanks for reply, any documents about this?

spartucus avatar May 26 '18 01:05 spartucus

the same

xu10000 avatar Jun 07 '18 07:06 xu10000

to account does not exist, can't solve

xu10000 avatar Jun 07 '18 07:06 xu10000

how to fix this ?? @spartucus

asshidhak avatar Jun 08 '18 06:06 asshidhak

It's mentioned here

You need to load the system contracts, see here

dskvr avatar Jul 26 '18 11:07 dskvr

@heifner Thank you very much! It works for me.

Yoge-Code avatar Sep 12 '18 09:09 Yoge-Code

it doesnot work, i have created all system accounts , then too I'm getting this error to account does not exist

shikhars371 avatar Apr 07 '20 13:04 shikhars371