Skip to content

Commit

Permalink
fix: failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
howydev committed Apr 29, 2024
1 parent 11f8cdf commit 55cdf0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/utils/AccountTestBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ abstract contract AccountTestBase is OptimizedTest {

// helper function to compress 2 gas values into a single bytes32
function _encodeGas(uint256 g1, uint256 g2) internal pure returns (bytes32) {
return bytes32(uint256(g1 << 128 + uint128(g2)));
return bytes32(uint256((g1 << 128) + uint128(g2)));
}
}

0 comments on commit 55cdf0e

Please sign in to comment.