diff --git a/core/vm/contracts_suave_runtime_adapter.go b/core/vm/contracts_suave_runtime_adapter.go index 5410a7f7a..474894036 100644 --- a/core/vm/contracts_suave_runtime_adapter.go +++ b/core/vm/contracts_suave_runtime_adapter.go @@ -683,17 +683,17 @@ func (b *SuaveRuntimeAdapter) submitEthBlockToRelay(input []byte) (res []byte, e var ( relayUrl string - builderBid []byte + builderDataRecord []byte ) relayUrl = unpacked[0].(string) - builderBid = unpacked[1].([]byte) + builderDataRecord = unpacked[1].([]byte) var ( output1 []byte ) - if output1, err = b.impl.submitEthBlockToRelay(relayUrl, builderBid); err != nil { + if output1, err = b.impl.submitEthBlockToRelay(relayUrl, builderDataRecord); err != nil { return } diff --git a/suave/sol/libraries/Suave.sol b/suave/sol/libraries/Suave.sol index f155bbc88..48f304314 100644 --- a/suave/sol/libraries/Suave.sol +++ b/suave/sol/libraries/Suave.sol @@ -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); } diff --git a/suave/sol/libraries/SuaveForge.sol b/suave/sol/libraries/SuaveForge.sol index 4f8602649..3d792f64f 100644 --- a/suave/sol/libraries/SuaveForge.sol +++ b/suave/sol/libraries/SuaveForge.sol @@ -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; }