-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No Contract Code after deployment #186
Comments
I think this might be caused by the deployment exceeding the block gas limit or running out of gas. Consider,
|
@maxrobot thanks for the quick response. Following your advice, I modified my genesis.js file, increasing the gas limit to 1012 and supplying 107 amount of gas while deploying the EthereumStorage.sol from the ion-cli and was successful in doing so. Next, Help needed: function register() public returns (bool) {
ion.registerValidationModule();
return true;
} and function RegisterChain(bytes32 _chainId, address[] memory _validators, bytes32 _genesisBlockHash, address _storeAddr) public {
require( _chainId != ion.chainId(), "Cannot add this chain id to chain register" );
if (chains[_chainId]) {
require( !m_blockhashes[_chainId][_genesisBlockHash], "Chain already exists with identical genesis" );
} else {
chains[_chainId] = true;
ion.addChain(_storeAddr, _chainId);
}
setGenesisBlock(_chainId, _validators, _genesisBlockHash);
} |
https://github.com/clearmatics/ion-cli Take a look at the docs here. What you're looking for is the |
@Shirikatsu, thanks for the reply. |
Use the |
I was following the steps mentioned in the ethereum to ethereum architecture section in the wiki at this link
I was able to deploy Ion.sol as well as the validation.sol but EthereumStore.sol on deployment shows "no code after deployment".
I have used a local geth blockchain and ion-cli to carry out the following procedures:
please help @Shirikatsu
The text was updated successfully, but these errors were encountered: