I'm testing a contract on testnet using Mist.
When I deploy it, it says "No data is deployed on the contract address!".
And then it doesn't appear on the contracts section.
What does it mean?
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community
This happens if the transaction with your contract was mined, but them the wallet couldn't find data on this address using
web3.eth.getCode(address). This happens if you don't provide enough gas for storing the contract. E.g. it was executed but not stored. This is an encase and shouldn't happen normally.
It can mean 'not enough gas'.
When you submit a contract using Mist/Ethereum Wallet you should always check that the 'Estimated fee consumption' is greater or equal to the 'Provide maximum fee' field. If it is not, then the gas in the 'Provide maximum fee' field can be increased simply by clicking on the blue link and then amending the value.
This happened to me once and it was because the transaction contained a simple error: I sent Ether to the contract when I deployed it but the contract's constructor wasn't payable.