I have been working on Smart Contract development with the local node running. It worked two weeks ago, and I got an error when I tried to deploy the same contract to the same local node. The error exceeds block gas limit. I have a high gas in the truffle.js, but still, I am getting the same error. Why is that?
pragma solidity ^0.4.8;
contract Verifier {
bool public isSignedW = false;
address public theAddress;
function recoverAddr(bytes32 msgHash, uint8 v, bytes32 r, bytes32 s) returns (address) {
theAddress= ecrecover(msgHash, v, r, s);
return theAddress;
}
function isSigned(address _addr, bytes32 msgHash, uint8 v, bytes32 r, bytes32 s) returns (bool) {
isSignedW= ecrecover(msgHash, v, r, s) == _addr;
return isSignedW;
}
}