Skip to content

Commit

Permalink
UsingPrecompiles fix for anvil
Browse files Browse the repository at this point in the history
  • Loading branch information
pahor167 committed May 15, 2024
1 parent a607b2f commit 138b4bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/protocol/contracts/common/UsingPrecompiles.sol
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ contract UsingPrecompiles {
function getEpochSize() public view returns (uint256) {
bytes memory out;
bool success;
(success, out) = EPOCH_SIZE.staticcall(abi.encodePacked());
(success, out) = EPOCH_SIZE.staticcall(abi.encodePacked(true));
require(success, "error calling getEpochSize precompile");
return getUint256FromBytes(out, 0);
}
Expand Down

0 comments on commit 138b4bd

Please sign in to comment.