eosfactory icon indicating copy to clipboard operation
eosfactory copied to clipboard

There is no push_action to Eosio account objects

Open cppfuns opened this issue 4 years ago • 1 comments

For the eosio object type, you also need the push_action method, because you need to initialize the system contract. Currently have to use cleos directly

cleos.PushAction(
    eosio,
    "init",
    '[0, "4,EOS"]',
    (eosio, Permission.ACTIVE))

cppfuns avatar Aug 08 '19 03:08 cppfuns

You are right. Will be fixed soon.

stefanzarembinski avatar Aug 08 '19 10:08 stefanzarembinski