eos icon indicating copy to clipboard operation
eos copied to clipboard

Error 3090003 on cleos set account

Open veselinovicjo opened this issue 7 years ago • 14 comments

Hello, after I did everything in the tutorial, I was trying to setup the command: cleos set contract hello /home/jovana/contracts/hello -p hello@active

The output I get is:

Reading WASM from /home/jovana/contracts/hello/hello.wasm...
Publishing contract...
Error 3090003: Provided keys, permissions, and delays do not satisfy declared authorizations
Ensure that you have the related private keys inside your wallet and your wallet is unlocked.```

veselinovicjo avatar Jan 21 '19 12:01 veselinovicjo

+1 :disappointed:

nikdale avatar Jan 21 '19 12:01 nikdale

Have you created hello account? That error message is also shown in the case of account non-existence.

conr2d avatar Jan 21 '19 15:01 conr2d

And if you have created the hello account, have you loaded its keys into an unlocked wallet?

jgiszczak avatar Jan 21 '19 18:01 jgiszczak

I've done that already. Wallet unlocked, has keys, account created, still that error.

veselinovicjo avatar Jan 21 '19 22:01 veselinovicjo

Can you provide a link to the tutorial you are following?

jgiszczak avatar Jan 21 '19 22:01 jgiszczak

https://developers.eos.io/eosio-home/docs/your-first-contract

veselinovicjo avatar Jan 21 '19 23:01 veselinovicjo

can you give the output of ./cleos get account hello ?

taokayan avatar Jan 22 '19 07:01 taokayan

permissions: 
     owner     1:    1 EOS8QntPwDBNKDZ3ryL8iqM5ojmrxJSVAy1xoUQxeC6vtzqyRHfMe
        active     1:    1 EOS8QntPwDBNKDZ3ryL8iqM5ojmrxJSVAy1xoUQxeC6vtzqyRHfMe
memory: 
     quota:       unlimited  used:      2.66 KiB  

net bandwidth: 
     used:               unlimited
     available:          unlimited
     limit:              unlimited

cpu bandwidth:
     used:               unlimited
     available:          unlimited
     limit:              unlimited

veselinovicjo avatar Jan 22 '19 09:01 veselinovicjo

And the output of ./cleos wallet keys?

jgiszczak avatar Jan 22 '19 18:01 jgiszczak

  "EOS66v6nn3qZr6CMgdukzSMKFGWpZX4pPeaXNcqL7AvXmvjaJzx1e",
  "EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV",
  "EOS7NRVnMp6PCpdid8sqnLsJBd3sJN6f8qqWBcKWEBGgdeMoCFSZk"
]

veselinovicjo avatar Jan 24 '19 08:01 veselinovicjo

You'll note none of those keys match the owner and active key for the hello account. Add the private key corresponding to EOS8QntPwDBNKDZ3ryL8iqM5ojmrxJSVAy1xoUQxeC6vtzqyRHfMe to your wallet and you'll be able to conduct transactions on the hello account.

jgiszczak avatar Jan 24 '19 17:01 jgiszczak

Where can I find private key for EOS8QntPwDBNKDZ3ryL8iqM5ojmrxJSVAy1xoUQxeC6vtzqyRHfMe ?

veselinovicjo avatar Jan 25 '19 13:01 veselinovicjo

When you created the key for your hello account it created the private key along with your public key.

https://developers.eos.io/eosio-home/docs/wallets#section-step-1-create-a-wallet https://developers.eos.io/eosio-home/docs/wallets#section-step-4-import-keys-into-your-wallet

If you used cleos create key --to-console then the private key was echoed to the console. If you used --file then the private key was put in the provided file.

If you have lost your private key. You can start over by restarting nodeos with --delete-all option or just create another account, say hello2, with public/private key pair that you have not lost.

heifner avatar Jan 25 '19 13:01 heifner

Yes, I got that @heifner. My problem is that I don't have private key for EOS8QntPwDBNKDZ3ryL8iqM5ojmrxJSVAy1xoUQxeC6vtzqyRHfMe that @jgiszczak wrote.

veselinovicjo avatar Jan 27 '19 15:01 veselinovicjo