3939import org .hyperledger .besu .ethereum .transaction .exceptions .BlockStateCallError ;
4040import org .hyperledger .besu .ethereum .transaction .exceptions .BlockStateCallException ;
4141import org .hyperledger .besu .evm .precompile .PrecompileContractRegistry ;
42+ import org .hyperledger .besu .evm .tracing .OperationTracer ;
4243
4344import java .util .List ;
4445import java .util .Map ;
4546import java .util .Set ;
4647
4748import org .apache .tuweni .bytes .Bytes ;
48- import org .hyperledger .besu .evm .tracing .OperationTracer ;
4949import org .junit .jupiter .api .BeforeEach ;
5050import org .junit .jupiter .api .Test ;
5151import org .junit .jupiter .api .extension .ExtendWith ;
@@ -145,7 +145,8 @@ public void shouldReturnOriginalErrorCodeWhenUpfrontCostExceedsBalanceWithoutVal
145145 public void shouldNotReturnInvalidParamsWhenInputAndDataHaveDifferentValues () {
146146 setupMethodWithMockSimulator ();
147147 setupBlockchainForLatest ();
148- when (blockSimulator .process (any (BlockHeader .class ), any (), any (OperationTracer .class ))).thenReturn (List .of ());
148+ when (blockSimulator .process (any (BlockHeader .class ), any (), any (OperationTracer .class )))
149+ .thenReturn (List .of ());
149150
150151 // Reproduces issue #9960: both input and data provided with different values.
151152 // Other EL clients (Geth, Nethermind, Reth, Erigon) accept this and use input.
@@ -168,7 +169,8 @@ public void shouldNotReturnInvalidParamsWhenInputAndDataHaveDifferentValues() {
168169
169170 final ArgumentCaptor <BlockSimulationParameter > captor =
170171 ArgumentCaptor .forClass (BlockSimulationParameter .class );
171- verify (blockSimulator ).process (any (BlockHeader .class ), captor .capture (), any (OperationTracer .class ));
172+ verify (blockSimulator )
173+ .process (any (BlockHeader .class ), captor .capture (), any (OperationTracer .class ));
172174 final Bytes payload =
173175 captor .getValue ().getBlockStateCalls ().get (0 ).getCalls ().get (0 ).getPayload ().orElseThrow ();
174176 assertThat (payload ).isEqualTo (Bytes .fromHexString ("0xDEADBEEF" ));
0 commit comments