Skip to content

Commit

Permalink
#1750 multiple transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
kladkogex committed Jan 12, 2024
1 parent 5901d5b commit ace6fa6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion libethereum/Block.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,13 @@ ExecutionResult Block::executeHistoricCall( LastBlockHashesFace const& _lh, Tran
auto resultReceipt = m_state.mutableHistoricState().execute(
envInfo, *m_sealEngine, _t, skale::Permanence::Uncommitted, onOp );
HistoricState stateAfter( m_state.mutableHistoricState() );
_tracer->finalizeAndPrintTrace( resultReceipt.first, stateBefore, stateAfter );
try {
_tracer->finalizeAndPrintTrace( resultReceipt.first, stateBefore, stateAfter );
} catch ( std::exception& e ) {
throw dev::eth::VMTracingError(
std::string( "Exception doing trace for transaction index:" ) +
std::to_string( _transactionIndex ) + ":" + e.what() );
}
return resultReceipt.first;
} else {
auto resultReceipt = m_state.mutableHistoricState().execute(
Expand Down

0 comments on commit ace6fa6

Please sign in to comment.