EOSIO / eos

An open source smart contract platform
https://developers.eos.io/manuals/eos
MIT License
11.27k stars 3.6k forks source link

dice contract deposit action complains 3030002 on master #2397

Closed zhky04 closed 6 years ago

zhky04 commented 6 years ago

I have tested dice contrace by following procedure: 1 cleos wallet unlock 2 cleos wallet import private_key 3 cleos create account eosio dice public_key public_key 4 cleos create account eosio user public_key public_key 5 cleos set contract dice ~/EOS/build/contracts/dice -p dice 6 cleos push action dice deposit '["user", "1.0000 EOS"]' -p user

and in step6, i got following error: Error 3030002: signatures do not satisfy declared authorizations Ensure that you have the related private keys inside your wallet and you wallet is unlocked. Error Details: transaction declares authority '{"actor":"user","permission":"active"}', but does not have signatures for it.

I am wondering why i got signature error when i have already imported private key.

Joelone commented 6 years ago

I saw the same error message with dawn-3.0.0 release tag.

zsq978663747 commented 6 years ago

I met too,don't know how to solve it

elmato commented 6 years ago

This is fixed in #2448