Skip to content

Commit 88860cd

Browse files
committed
fix
1 parent 7c967d2 commit 88860cd

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

crates/rbuilder/src/backtest/build_block/full_partial_block_execution_tracer.rs

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -274,22 +274,17 @@ impl PartialBlockForkExecutionTracer for FullPartialBlockExecutionTracer {
274274
};
275275
let (result, coinbase_delta, gas_used) = match &res {
276276
Ok(Ok(tx_ok)) => match tx_ok.exec_result {
277-
revm::context::result::ExecutionResult::Success {
278-
reason: _,
279-
logs: _,
280-
output: _,
281-
..
282-
} => (
277+
revm::context::result::ExecutionResult::Success { .. } => (
283278
SimpleTxExecutionResult::OkSuccess,
284279
tx_ok.tx_info.coinbase_profit,
285280
tx_ok.tx_info.space_used.gas,
286281
),
287-
revm::context::result::ExecutionResult::Revert { output: _, .. } => (
282+
revm::context::result::ExecutionResult::Revert { .. } => (
288283
SimpleTxExecutionResult::OkRevert,
289284
tx_ok.tx_info.coinbase_profit,
290285
tx_ok.tx_info.space_used.gas,
291286
),
292-
revm::context::result::ExecutionResult::Halt { reason: _, .. } => (
287+
revm::context::result::ExecutionResult::Halt { .. } => (
293288
SimpleTxExecutionResult::OkHalt,
294289
tx_ok.tx_info.coinbase_profit,
295290
tx_ok.tx_info.space_used.gas,

0 commit comments

Comments
 (0)