Skip to content

Instantly share code, notes, and snippets.

@hashware
Last active June 16, 2018 09:47
Show Gist options
  • Save hashware/95143353dcd722380f361d236450627f to your computer and use it in GitHub Desktop.
Save hashware/95143353dcd722380f361d236450627f to your computer and use it in GitHub Desktop.

Error 3050003: eosio_assert_message assertion failure Error Details: assertion failure with message: comparison of assets with different symbols is not allowed

小数点后的位数与创建币时要一样


Error 3050003: eosio_assert_message assertion failure Error Details: assertion failure with message: overdrawn balance

余额不足


Error 3050003: eosio_assert_message assertion failure Error Details: assertion failure with message: no balance object found

需先给该账号发币


cleos push action dice deposit '[ "alice", "100.0000 SYS" ]' -p alice

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. Error Details: transaction declares authority '{"actor":"alice","permission":"active"}', but does not have signatures for it under a provided delay of 0 ms, provided permissions [{"actor":"dice","permission":"eosio.code"}], and provided keys []

给alice的active增加dice@eosio.code权限

cleos set account permission alice active '{"threshold": 1, "keys": [{"key": "EOS7ijWCBmoXBi3CgtK7DJxentZZeTkeUnaSDvyro9dq7Sd1C3dC4","weight": 1}], "accounts": [{"permission":{"actor":"dice","permission":"eosio.code"},"weight":1}]}' owner -p alice@owner


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. Error Details: transaction declares authority '{"actor":"dice","permission":"active"}', but does not have signatures for it under a provided delay of 0 ms, provided permissions [{"actor":"dice","permission":"eosio.code"}], and provided keys []

给dice的active增加dice@eosio.code权限

cleos set account permission dice active '{"threshold": 1, "keys": [{"key": "EOS7ijWCBmoXBi3CgtK7DJxentZZeTkeUnaSDvyro9dq7Sd1C3dC4","weight": 1}], "accounts": [{"permission":{"actor":"dice","permission":"eosio.code"},"weight":1}]}' owner -p dice@owner


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment