I have created a private blockchain and a private networ using Geth i have submitted a contract for deployment.. i can see in main geth CLI there its showing as

after that I did mining .. is that means the contract got created/deployed.

also when I try to run the contract it gives error as execution aborted (timeout = 5s)

CustomeGenesis file is as :
    "config": {  
        "chainId": 7413, 
        "homesteadBlock": 0,
        "eip155Block": 0,
        "eip158Block": 0
    "difficulty": "20",
    "gasLimit": "21000000",
    "alloc": {

and the contract I am trying to deploy is as :

pragma solidity >=0.4.22 <0.6.0;
contract greeter {
     address owner;
     string greeting;

constructor (string memory _greeting) public {
        greeting = _greeting;
        owner = msg.sender;

    function greet() public view returns(string memory) 
        return greeting;

I have compiled it using the remix editor and trying to deploy the web3deploy content from remix enter image description here

after calling the contract i am getting error as shown in screen shot..

any help will be helpful.

Thanks Suraj

  • How exactly do you expect anyone to answer this when you haven't posted a single line of your code or your system configuration??? – goodvibration Sep 23 '19 at 7:26
  • I have just attached the code and screen shot – suraj singh Sep 23 '19 at 8:50
  • update : i can see my contract got created and i received an address for this... the issue now is that when i call it geth gives an error as Execution Aborted (timeout = 5s) – suraj singh Sep 23 '19 at 10:45
  • I suggest that you try it on Ganache first. – goodvibration Sep 23 '19 at 10:46
  • 1
    How are you calling it? – Majd TL Sep 23 '19 at 10:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.