tokenika / eosfactory

Python-based EOS smart-contract development & testing framework
http://eosfactory.io/
Other
243 stars 62 forks source link

There is no push_action to Eosio account objects #179

Open cppfuns opened 5 years ago

cppfuns commented 5 years ago

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))
stefanzarembinski commented 5 years ago

You are right. Will be fixed soon.