From 5984d56398777ea1e378b9438e837d0cd1e7256d Mon Sep 17 00:00:00 2001 From: zeroXbrock <2791467+zeroXbrock@users.noreply.github.com> Date: Tue, 16 Jan 2024 17:26:09 -0800 Subject: [PATCH] fix failing test --- test/protocols/Bundle.t.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/protocols/Bundle.t.sol b/test/protocols/Bundle.t.sol index 8cd1060..c684ff6 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": "0x1", "txs": ["0x1234"]}],"id":1}' + '{"jsonrpc":"2.0","method":"eth_sendBundle","params":[{"blockNumber": "0x01", "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": "0x1", "txs": ["0x1234"], "minTimestamp": 2}],"id":1}' + '{"jsonrpc":"2.0","method":"eth_sendBundle","params":[{"blockNumber": "0x01", "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": "0x1", "txs": ["0x1234"], "minTimestamp": 2, "maxTimestamp": 3}],"id":1}' + '{"jsonrpc":"2.0","method":"eth_sendBundle","params":[{"blockNumber": "0x01", "txs": ["0x1234"], "minTimestamp": 2, "maxTimestamp": 3}],"id":1}' ); } }