From e1fb15d131f21fbdaae60bdbb1cf6c0f582cf626 Mon Sep 17 00:00:00 2001 From: thinkAfCod Date: Sat, 9 Mar 2024 11:26:08 +0800 Subject: [PATCH] style: format --- .../test/java/io/optimism/config/SystemConfigTest.java | 8 +++----- .../optimism/derive/stages/AttributesDepositedTest.java | 8 +++----- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/hildr-node/src/test/java/io/optimism/config/SystemConfigTest.java b/hildr-node/src/test/java/io/optimism/config/SystemConfigTest.java index c5d3e578..2b9f0db9 100644 --- a/hildr-node/src/test/java/io/optimism/config/SystemConfigTest.java +++ b/hildr-node/src/test/java/io/optimism/config/SystemConfigTest.java @@ -1,16 +1,14 @@ package io.optimism.config; +import static org.junit.Assert.assertEquals; + import io.optimism.derive.stages.Attributes; +import java.math.BigInteger; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; -import org.web3j.abi.datatypes.generated.Bytes32; import org.web3j.tuples.generated.Tuple2; import org.web3j.utils.Numeric; -import java.math.BigInteger; - -import static org.junit.Assert.assertEquals; - /** * The type of SystemConfigTest. * diff --git a/hildr-node/src/test/java/io/optimism/derive/stages/AttributesDepositedTest.java b/hildr-node/src/test/java/io/optimism/derive/stages/AttributesDepositedTest.java index acee0522..cce684f8 100644 --- a/hildr-node/src/test/java/io/optimism/derive/stages/AttributesDepositedTest.java +++ b/hildr-node/src/test/java/io/optimism/derive/stages/AttributesDepositedTest.java @@ -1,13 +1,13 @@ package io.optimism.derive.stages; +import static org.junit.jupiter.api.Assertions.assertEquals; + import java.math.BigInteger; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.web3j.utils.Numeric; -import static org.junit.jupiter.api.Assertions.assertEquals; - /** * The type AttributesDepositedTest. * @@ -37,9 +37,7 @@ void testEcotoneEncode() { BigInteger.valueOf(0L), false); byte[] bytes = deposited.encodeInEcotone(); - Assertions.assertEquals( - TX_INPUT, - Numeric.toHexString(bytes)); + Assertions.assertEquals(TX_INPUT, Numeric.toHexString(bytes)); } @Test