File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed
web3/src/main/java/org/hiero/mirror/web3
evm/contracts/execution/traceability Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 8
8
import java .util .List ;
9
9
import java .util .Map ;
10
10
import java .util .Optional ;
11
+ import lombok .experimental .UtilityClass ;
11
12
import org .apache .tuweni .bytes .Bytes ;
12
13
import org .hiero .mirror .common .domain .contract .ContractAction ;
13
14
import org .hiero .mirror .web3 .common .ContractCallContext ;
20
21
/**
21
22
* Common utility class with methods used for tracing information
22
23
*/
24
+ @ UtilityClass
23
25
public class TracerUtils {
24
26
25
- private TracerUtils () {
26
- // Utility class, no instantiation
27
- }
28
-
29
27
public static List <Bytes > captureMemory (final MessageFrame frame , OpcodeTracerOptions options ) {
30
28
if (!options .isMemory ()) {
31
29
return Collections .emptyList ();
Original file line number Diff line number Diff line change @@ -263,14 +263,8 @@ private void throwPayerAccountNotFoundException(final String message) {
263
263
264
264
private OperationTracer [] getOperationTracers () {
265
265
return ContractCallContext .get ().getOpcodeTracerOptions () != null
266
- ? new OperationTracer [] {
267
- mirrorNodeEvmProperties .isModularizedServices () ? opcodeActionTracer : opcodeTracer
268
- }
269
- : new OperationTracer [] {
270
- mirrorNodeEvmProperties .isModularizedServices ()
271
- ? mirrorOperationActionTracer
272
- : mirrorOperationTracer
273
- };
266
+ ? new OperationTracer [] {opcodeActionTracer }
267
+ : new OperationTracer [] {mirrorOperationActionTracer };
274
268
}
275
269
276
270
private SequencedCollection <String > populateChildTransactionErrors (
You can’t perform that action at this time.
0 commit comments