When I the ABI for any smart contract it always creates "methods" as just an empty object... it should contain my public and external functions, but it doesn't.
When I look at the ABI I don't see any functions at all... even when I instantiate a contract with web3, the "methods" is just an empty object. why is this happening?
Steps to Reproduce
- run
truffle init
- run
truffle create all Hello
- add a function to Hello contract:
function foooo() external pure returns (string memory) {
return "something";
}
- run truffle build
- Look at build/contracts/Hello.json and see that "methods" is just an empty object...