diff --git a/test/protocols/Bundle.t.sol b/test/protocols/Bundle.t.sol index 39dbce9..8cd1060 100644 --- a/test/protocols/Bundle.t.sol +++ b/test/protocols/Bundle.t.sol @@ -15,7 +15,7 @@ contract EthSendBundle is Test { Suave.HttpRequest memory request = Bundle.encodeBundle(bundle); assertEq( string(request.body), - '{"jsonrpc":"2.0","method":"eth_sendBundle","params":[{"blockNumber": "1", "txs": ["0x1234"]}],"id":1}' + '{"jsonrpc":"2.0","method":"eth_sendBundle","params":[{"blockNumber": "0x1", "txs": ["0x1234"]}],"id":1}' ); assertTrue(request.withFlashbotsSignature); @@ -25,7 +25,7 @@ contract EthSendBundle is Test { Suave.HttpRequest memory request2 = Bundle.encodeBundle(bundle); assertEq( string(request2.body), - '{"jsonrpc":"2.0","method":"eth_sendBundle","params":[{"blockNumber": "1", "txs": ["0x1234"], "minTimestamp": 2}],"id":1}' + '{"jsonrpc":"2.0","method":"eth_sendBundle","params":[{"blockNumber": "0x1", "txs": ["0x1234"], "minTimestamp": 2}],"id":1}' ); // encode with 'maxTimestamp' @@ -34,7 +34,7 @@ contract EthSendBundle is Test { Suave.HttpRequest memory request3 = Bundle.encodeBundle(bundle); assertEq( string(request3.body), - '{"jsonrpc":"2.0","method":"eth_sendBundle","params":[{"blockNumber": "1", "txs": ["0x1234"], "minTimestamp": 2, "maxTimestamp": 3}],"id":1}' + '{"jsonrpc":"2.0","method":"eth_sendBundle","params":[{"blockNumber": "0x1", "txs": ["0x1234"], "minTimestamp": 2, "maxTimestamp": 3}],"id":1}' ); } }