Skip to content

Commit

Permalink
Merge branch 'main' into precompile-sign-message
Browse files Browse the repository at this point in the history
  • Loading branch information
dmarzzz authored Dec 22, 2023
2 parents bf9fc2d + 99301f1 commit b1fbefc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
6 changes: 3 additions & 3 deletions core/vm/contracts_suave_runtime_adapter.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions suave/sol/libraries/Suave.sol
Original file line number Diff line number Diff line change
Expand Up @@ -235,13 +235,14 @@ library Suave {
return data;
}

function submitEthBlockToRelay(string memory relayUrl, bytes memory builderBid)
function submitEthBlockToRelay(string memory relayUrl, bytes memory builderDataRecord)
internal
view
returns (bytes memory)
{
require(isConfidential());
(bool success, bytes memory data) = SUBMIT_ETH_BLOCK_TO_RELAY.staticcall(abi.encode(relayUrl, builderBid));
(bool success, bytes memory data) =
SUBMIT_ETH_BLOCK_TO_RELAY.staticcall(abi.encode(relayUrl, builderDataRecord));
if (!success) {
revert PeekerReverted(SUBMIT_ETH_BLOCK_TO_RELAY, data);
}
Expand Down
5 changes: 3 additions & 2 deletions suave/sol/libraries/SuaveForge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,13 @@ library SuaveForge {
return data;
}

function submitEthBlockToRelay(string memory relayUrl, bytes memory builderBid)
function submitEthBlockToRelay(string memory relayUrl, bytes memory builderDataRecord)
internal
view
returns (bytes memory)
{
bytes memory data = forgeIt("0x0000000000000000000000000000000042100002", abi.encode(relayUrl, builderBid));
bytes memory data =
forgeIt("0x0000000000000000000000000000000042100002", abi.encode(relayUrl, builderDataRecord));

return data;
}
Expand Down

0 comments on commit b1fbefc

Please sign in to comment.