From a009d82118a904c81d7aad63cabd0fff1b79cff1 Mon Sep 17 00:00:00 2001 From: Robert M Date: Thu, 31 Oct 2024 19:12:11 +0000 Subject: [PATCH] fix bundle fetch --- crates/rbuilder/src/backtest/fetch/flashbots_db.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/rbuilder/src/backtest/fetch/flashbots_db.rs b/crates/rbuilder/src/backtest/fetch/flashbots_db.rs index e6325fff..5c6ec232 100644 --- a/crates/rbuilder/src/backtest/fetch/flashbots_db.rs +++ b/crates/rbuilder/src/backtest/fetch/flashbots_db.rs @@ -47,7 +47,7 @@ impl RelayDB { "SELECT \ inserted_at, bundle_hash, param_block_number, param_signed_txs, param_reverting_tx_hashes, \ coinbase_diff, total_gas_used, signing_address, replacement_uuid, param_timestamp \ - FROM bundles \ + FROM bundles_v2 \ WHERE is_simulated = true and param_block_number = $1\ ORDER BY inserted_at ASC", )