Skip to content

Commit

Permalink
fix: spotless
Browse files Browse the repository at this point in the history
Signed-off-by: Kristiyan Selveliev <[email protected]>
  • Loading branch information
kselveliev committed Feb 6, 2025
1 parent 34c8cc2 commit 7749869
Showing 1 changed file with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ void shouldReturnAbiEncodedRevertReasonWhenPrecompileCallHasContractActionWithRe
assertThat(opcodeForPrecompileCall.reason())
.isNotEmpty()
.isEqualTo(getAbiEncodedRevertReason(Bytes.of(
ResponseCodeEnum.INVALID_ACCOUNT_ID.name().getBytes()))
ResponseCodeEnum.INVALID_ACCOUNT_ID.name().getBytes()))
.toHexString());
}

Expand Down Expand Up @@ -972,8 +972,8 @@ private Map<UInt256, UInt256> setupStorageForCapture(final MessageFrame frame) {
}

private UInt256[] setupStackForCapture(final MessageFrame frame) {
final UInt256[] stack = new UInt256[]{
UInt256.fromHexString("0x01"), UInt256.fromHexString("0x02"), UInt256.fromHexString("0x03")
final UInt256[] stack = new UInt256[] {
UInt256.fromHexString("0x01"), UInt256.fromHexString("0x02"), UInt256.fromHexString("0x03")
};

for (final UInt256 stackItem : stack) {
Expand All @@ -984,8 +984,8 @@ private UInt256[] setupStackForCapture(final MessageFrame frame) {
}

private Bytes[] setupMemoryForCapture(final MessageFrame frame) {
final Bytes[] words = new Bytes[]{
Bytes.fromHexString("0x01", 32), Bytes.fromHexString("0x02", 32), Bytes.fromHexString("0x03", 32)
final Bytes[] words = new Bytes[] {
Bytes.fromHexString("0x01", 32), Bytes.fromHexString("0x02", 32), Bytes.fromHexString("0x03", 32)
};

for (int i = 0; i < words.length; i++) {
Expand Down Expand Up @@ -1031,8 +1031,7 @@ private MessageFrame.Builder messageFrameBuilder(final Address recipientAddress,
.code(CodeV0.EMPTY_CODE)
.sender(Address.ZERO)
.originator(Address.ZERO)
.completer(ignored -> {
})
.completer(ignored -> {})
.miningBeneficiary(Address.ZERO)
.address(recipientAddress)
.contract(recipientAddress)
Expand Down

0 comments on commit 7749869

Please sign in to comment.