Skip to content

Commit

Permalink
Update Suave.sol library to flashbots/suave-geth@841df8e (#45)
Browse files Browse the repository at this point in the history
Co-authored-by: sukoneck <[email protected]>
  • Loading branch information
github-actions[bot] and sukoneck authored Feb 14, 2024
1 parent 65c89c8 commit a0ff23a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/suavelib/Suave.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ library Suave {
bytes32 random;
Withdrawal[] withdrawals;
bytes extra;
bytes32 beaconRoot;
bool fillPending;
}

Expand Down Expand Up @@ -218,8 +219,8 @@ library Suave {
return abi.decode(data, (DataRecord));
}

function privateKeyGen() internal view returns (string memory) {
(bool success, bytes memory data) = PRIVATE_KEY_GEN.staticcall(abi.encode());
function privateKeyGen() internal returns (string memory) {
(bool success, bytes memory data) = PRIVATE_KEY_GEN.call(abi.encode());
if (!success) {
revert PeekerReverted(PRIVATE_KEY_GEN, data);
}
Expand Down

0 comments on commit a0ff23a

Please sign in to comment.