Skip to content

Commit 915b8b5

Browse files
committed
spotless again
Signed-off-by: garyschulte <garyschulte@gmail.com>
1 parent ff84cfc commit 915b8b5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

ethereum/api/src/test/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/EthSimulateV1Test.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@
3939
import org.hyperledger.besu.ethereum.transaction.exceptions.BlockStateCallError;
4040
import org.hyperledger.besu.ethereum.transaction.exceptions.BlockStateCallException;
4141
import org.hyperledger.besu.evm.precompile.PrecompileContractRegistry;
42+
import org.hyperledger.besu.evm.tracing.OperationTracer;
4243

4344
import java.util.List;
4445
import java.util.Map;
4546
import java.util.Set;
4647

4748
import org.apache.tuweni.bytes.Bytes;
48-
import org.hyperledger.besu.evm.tracing.OperationTracer;
4949
import org.junit.jupiter.api.BeforeEach;
5050
import org.junit.jupiter.api.Test;
5151
import 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

Comments
 (0)