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

Created on 25 May 2018  路  8Comments  路  Source: EOSIO/eos

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 锛焨sing 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"

Most helpful comment

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',
]

All 8 comments

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',
]

Thanks for reply, any documents about this?

the same

to account does not exist, can't solve

how to fix this ?? @spartucus

It's mentioned here

You need to load the system contracts, see here

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

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ResponsiveWebApps picture ResponsiveWebApps  路  3Comments

toonsevrin picture toonsevrin  路  3Comments

yashbhavsar007 picture yashbhavsar007  路  3Comments

dimakomar picture dimakomar  路  3Comments

IvanYakimov picture IvanYakimov  路  3Comments