From 30ca2a8674d36b98fee7744ac71e358e613c1549 Mon Sep 17 00:00:00 2001 From: Ferran Borreguero Date: Mon, 5 Feb 2024 09:11:30 +0000 Subject: [PATCH] Fix tests --- suave/sol/standard_peekers/bundles.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/suave/sol/standard_peekers/bundles.sol b/suave/sol/standard_peekers/bundles.sol index aff8a761c..b8a85c9f5 100644 --- a/suave/sol/standard_peekers/bundles.sol +++ b/suave/sol/standard_peekers/bundles.sol @@ -307,7 +307,7 @@ contract EthBlockContract is AnyBundleContract { uint64 blockHeight, Suave.DataId[] memory records, string memory namespace - ) public view returns (Suave.DataRecord memory, bytes memory) { + ) public returns (Suave.DataRecord memory, bytes memory) { address[] memory allowedPeekers = new address[](2); allowedPeekers[0] = address(this); allowedPeekers[1] = Suave.BUILD_ETH_BLOCK; @@ -331,7 +331,7 @@ contract EthBlockContract is AnyBundleContract { return (dataRecord, builderBid); } - function unlock(Suave.DataId dataId, bytes memory signedBlindedHeader) public view returns (bytes memory) { + function unlock(Suave.DataId dataId, bytes memory signedBlindedHeader) public returns (bytes memory) { require(Suave.isConfidential()); // TODO: verify the header is correct