Posts

Showing posts with the label ethereum

How to determine correct contract compilation options?

How to determine correct contract compilation options? I've successfully deployed my contract to Kaleido but I'm having trouble figuring out how to correctly verify it. Here is the source code deploys the contract and I've verified the the address printed by the last print statement appears in my Kaleido blockchain: When I try to verify my contract, I'm asked to provide the source code, the contract name, a compiler version and whether optimization was used. I use the following for the requested source code I use Greeter as the contract name. solc --version returns Version: 0.4.24+commit.e67f0147.Darwin.appleclang which I found was committed on May 16: https://github.com/ethereum/solidity/search?q=e67f0147&type=Commits. Greeter solc --version Version: 0.4.24+commit.e67f0147.Darwin.appleclang I've tried all of the following combinations for compiler version + optimization enabled: {0.4.24, 0.4.24-nightly.2018.5.16} x {optimization enabled, optimization disable...