This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
hello.abi is wrong #2029
Comments
@OuterSpaceTears how are you generating the ABI file? |
@elmato I get the same thing and I’m on Ubuntu 17.10 x64 |
Can you paste the command you are using to generate |
I needed to sudo make install on the eos/build dir and tried generating the abi again and it worked! Thanks @elmato for helping me find what the issue was. |
@OuterSpaceTears looking at the empty ABI file format, it seems that you are using an older version of the abi generator (eosio-abigen) which is called by Make sure you are doing |
I implemented./eos_build.sh, did not execute sudo make install, and solved this problem through sudo make install. Thank you very much. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
feng@feng-B250-HD3P:~/workSpace/eos/build/contracts/hello$ eosiocpp -o hello.wast hello.cpp
hello.cpp
`#include <eosiolib/eosio.hpp>
#include <eosiolib/print.hpp>
using namespace eosio;
class hello : public eosio::contract {
public:
using contract::contract;
};
EOSIO_ABI( hello, (hi) ) `
hello.abi
{ "types": [], "structs": [], "actions": [], "tables": [] }
@bytemaster
Can you help me?Thank you very much.
The text was updated successfully, but these errors were encountered: