Categories
Cryptocurrency Ethereum Mastering Development

Abigen doesn’t create free data retrieval call for public state variable

I’m looking at an example contract using go-ethereum. In the book, when a go file is created in Store.sol through abigen, the code that automatically gets the Version() string is generated. However, although I tried to follow it as it is in my work environment, only the function that returns transactionOpts is created as follows, […]