-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Permission issue for action in contract #3013
Comments
(>_<) |
that's my code and test script, asking for help! |
+1 |
We enhanced the security under Dawn 4.0, you need to set the permission level "kc.code@eosio.code" rather than "kc.code@active". Actions dispatched by code are no longer dispatched with "active" authority, but with a special "eosio.code" authority level.
Therefore, the issue is a misconfigured authority on account mk. |
@cluestudio |
Yes, It works to me. [{"permission":{"actor":"ck.code","permission":"active"},"weight":1}] to [{"permission":{"actor":"ck.code","permission":"eosio.code"},"weight":1}] |
Hello, what i how to solve this problem : |
Are you running on a local node? The default symbol is SYS on local node, not EOS. Try to use "1.0000 SYS" instead of "1.0000 EOS". |
This command do same things with bytemaster's description, but brief... |
Here is my contract code. this contract code make a eosio.token's transfer action like a
dice
contract sample.And then,
Allow ck.code contract to make transfers on mk behalf
But it brings a permission error.
It run fine on dawn3.0, but not on dawn 4.0
The text was updated successfully, but these errors were encountered: