eos icon indicating copy to clipboard operation
eos copied to clipboard

When using eosiocpp -g to generate contract.abi, the ABI file data is empty.

Open OuterSpaceTears opened this issue 8 years ago • 4 comments

hpp `/**

  • @file
  • @copyright defined in eos/LICENSE.txt */ #include <eosiolib/eosio.hpp>

using namespace eosio;

class communicate_test { public: struct call { account_name caller;

        EOSLIB_SERIALIZE(call, (caller));
    };

    bool apply( account_name contract, action_name act) {
        switch (act) {
            case N(call):
                on( unpack_action_data<call>() );
                return true;
        }

        return false;
    }

    void on( const call& c) {
        print(c.caller);
        print("\n");
    }

};

`

abi { "types": [], "structs": [], "actions": [], "tables": [] }

@heifner

OuterSpaceTears avatar Mar 28 '18 02:03 OuterSpaceTears

@OuterSpaceTears I think you can try #2053 I was successful 😄

navcsdev avatar Apr 05 '18 09:04 navcsdev

Now it did not work for eos v1.0.1.

sportsminer avatar Jun 08 '18 09:06 sportsminer

Have been fixed?

yankunsam avatar Jun 08 '18 09:06 yankunsam

I'm getting this issue as well, any solid solution for this? I noticed a lot of users have been experiencing this issue.

dominic-healid avatar Jun 25 '18 01:06 dominic-healid