I got a error. when invoke a function in geth after I deployed a smart contract in my private chain.
my contract code is below:
pragma solidity ^0.8.0;
contract Storage{
uint256 public value = 5;
function set(uint256 number) public{
value = number;
}
function retrieve() public view returns (uint256){
return value;
}
}
I want to know how to solve this error. Thanks.