eos icon indicating copy to clipboard operation
eos copied to clipboard

Failed with error: 10 assert_exception: Assert Exception

Open liderako opened this issue 9 years ago • 10 comments

I have a problem with create account

3069107ms thread-0   main.cpp:768 main]
Failed with error: 10 assert_exception: Assert Exception
status_code == 200:
Error: 3030002 tx_missing_sigs: signatures do not satisfy declared authorizations
Transaction declares authority
'{"account":"inita","permission":"active"}', but does not have signatures for it.
{"auth":{"account":"inita","permission":"active"}}
thread-0  chain_controller.cpp:749 get_required_keys

Help please!

liderako avatar Sep 07 '17 12:09 liderako

You need to import the private key for the inita account into your wallet. You also need to unlock the wallet before you do anything

nanonano7 avatar Sep 07 '17 13:09 nanonano7

See: https://github.com/EOSIO/eos#run-eos-walletd-and-importing-account-key

heifner avatar Sep 07 '17 13:09 heifner

Thank you very much!

liderako avatar Sep 07 '17 13:09 liderako

Your welcome. Thanks for your interest in EOS.

heifner avatar Sep 07 '17 13:09 heifner

Also make sure that in theeosd/data-dir/config.ini you have already appended plugin = eosio::wallet_plugin

SheldonHH avatar Nov 13 '17 05:11 SheldonHH

@nanonano7 what are the steps to "You need to import the private key for the inita account into your wallet. You also need to unlock the wallet before you do anything"

the doc only tells how to use existing one right?

rogeryu23 avatar Jan 20 '18 15:01 rogeryu23

Hey i am getting same issue. i have unlocked the wallet and import the private key in the account @nanonano7 @heifner

rupaliathashcode avatar Feb 28 '18 06:02 rupaliathashcode

Failed with error: Assert Exception (10)

While running my EOS Clone, making Blocks, built wallets and inserted Keys everything works just fine until I get to Making an Account:

Everything is open / unlocked, wallet shows in list: ./cleos wallet list

all three keys show in list: ./cleos create account -j inita wallet-name Public-Key-1 Public-Key-2

./cleos wallet import -n wallet-name inita-private-key (5KD6xe4Jy162GzmNtYQ2ExEk4bVieJEfD4RTncicWDhemR6apww) But I still get the error "Failed with error: Assert Exception (10)"... during inita private key import.

I think where all these errors come from is the whole "inita Private Key" which is not found in my Clone, but got it from forums like this. I don't think the "inita Private Key" exists on my Clone, because the associated ini file is not found, or I don't know where to look.

I think cleos must recognize the "inita Private Key" in each specific Clone or it will be rejected.

eliyahu-yhwh avatar Jun 16 '18 18:06 eliyahu-yhwh

I FOUND IT!!! eos/docker/config.ini

In my version / clone this file shows the producer to be "eosio" and a few lines down gives the Keys, the -j is for the json file:

  1. ./cleos create account -j eosio wallet-name Public-Key-1 Public-Key-2 (you will get errors, but just continue on as shown)
  2. ./cleos wallet import -n wallet-name eosio-private-key (5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3)
  3. ./cleos create account -j eosio wallet-name Public-Key-1 Public-Key-2

This should get you to the new account and a view of your json file...

eliyahu-yhwh avatar Jun 16 '18 19:06 eliyahu-yhwh

Hi friends, I found an error while setting a contract after creation of account Failed with error: Assert Exception (10)

Sabrinsulthana avatar Jul 06 '18 11:07 Sabrinsulthana