Skip to content

Commit f96f24d

Browse files
[ETCM-1015] Format all
1 parent 8a93696 commit f96f24d

File tree

8 files changed

+13
-12
lines changed

8 files changed

+13
-12
lines changed

src/it/scala/io/iohk/ethereum/txExecTest/ForksTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class ForksTest extends AnyFlatSpec with Matchers {
2727
homesteadBlockNumber = 3,
2828
eip150BlockNumber = 5,
2929
eip160BlockNumber = 7,
30-
eip155BlockNumber = 0,
30+
eip155BlockNumber = 0
3131
),
3232
chainId = 0x3d.toByte,
3333
monetaryPolicyConfig = MonetaryPolicyConfig(5000000, 0.2, 5000000000000000000L, 3000000000000000000L),

src/main/scala/io/iohk/ethereum/jsonrpc/TestService.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ class TestService(
229229
aghartaBlockNumber = istanbulForkBlockNumber,
230230
istanbulBlockNumber = istanbulForkBlockNumber,
231231
atlantisBlockNumber = istanbulForkBlockNumber,
232-
phoenixBlockNumber = istanbulForkBlockNumber,
232+
phoenixBlockNumber = istanbulForkBlockNumber
233233
),
234234
accountStartNonce = UInt256(blockchainParams.accountStartNonce),
235235
networkId = 1,

src/main/scala/io/iohk/ethereum/utils/BlockchainConfig.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ case class BlockchainConfig(
3838
copy(forkBlockNumbers = update(forkBlockNumbers))
3939
}
4040

41-
case class ForkBlockNumbers (
41+
case class ForkBlockNumbers(
4242
frontierBlockNumber: BigInt,
4343
homesteadBlockNumber: BigInt,
4444
eip106BlockNumber: BigInt,

src/test/scala/io/iohk/ethereum/consensus/blocks/BlockGeneratorSpec.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ class BlockGeneratorSpec extends AnyFlatSpec with Matchers with ScalaCheckProper
229229
homesteadBlockNumber = 1150000,
230230
difficultyBombPauseBlockNumber = 3000000,
231231
difficultyBombContinueBlockNumber = 5000000,
232-
difficultyBombRemovalBlockNumber = 5900000,
232+
difficultyBombRemovalBlockNumber = 5900000
233233
)
234234
)
235235

@@ -283,7 +283,7 @@ class BlockGeneratorSpec extends AnyFlatSpec with Matchers with ScalaCheckProper
283283
difficultyBombPauseBlockNumber = 3000000,
284284
difficultyBombContinueBlockNumber = 5000000,
285285
difficultyBombRemovalBlockNumber = 5900000,
286-
eip161BlockNumber = 0,
286+
eip161BlockNumber = 0
287287
),
288288
chainId = 0x3d.toByte,
289289
networkId = 1,
@@ -650,7 +650,7 @@ class BlockGeneratorSpec extends AnyFlatSpec with Matchers with ScalaCheckProper
650650
eip155BlockNumber = 0,
651651
difficultyBombPauseBlockNumber = 3000000,
652652
difficultyBombContinueBlockNumber = 5000000,
653-
difficultyBombRemovalBlockNumber = 5900000,
653+
difficultyBombRemovalBlockNumber = 5900000
654654
),
655655
chainId = 0x3d.toByte,
656656
networkId = 1,

src/test/scala/io/iohk/ethereum/consensus/pow/validators/EthashBlockHeaderValidatorSpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ class EthashBlockHeaderValidatorSpec
393393
byzantiumBlockNumber = 4370000,
394394
constantinopleBlockNumber = 7280000,
395395
istanbulBlockNumber = 9069000,
396-
eip106BlockNumber = 0,
396+
eip106BlockNumber = 0
397397
),
398398
daoForkConfig = Some(new DaoForkConfig {
399399
override val blockExtraData: Option[ByteString] =

src/test/scala/io/iohk/ethereum/consensus/pow/validators/RestrictedEthashBlockHeaderValidatorSpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class RestrictedEthashBlockHeaderValidatorSpec
8484
byzantiumBlockNumber = 4370000,
8585
constantinopleBlockNumber = 7280000,
8686
istanbulBlockNumber = 9069000,
87-
eip106BlockNumber = 0,
87+
eip106BlockNumber = 0
8888
),
8989
daoForkConfig = None,
9090
// unused

src/test/scala/io/iohk/ethereum/forkid/ForkIdSpec.scala

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ class ForkIdSpec extends AnyWordSpec with Matchers {
2020
}
2121
"gatherForks for the etc chain correctly" in {
2222
val res = config.blockchains.map { case (name, conf) => (name, gatherForks(conf)) }
23-
res("etc") shouldBe List(1150000, 2500000, 3000000, 5000000, 5900000, 8772000, 9573000, 10500839, 11700000, 13189133)
23+
res("etc") shouldBe List(1150000, 2500000, 3000000, 5000000, 5900000, 8772000, 9573000, 10500839, 11700000,
24+
13189133)
2425
}
2526

2627
"gatherForks for the eth chain correctly" in {
@@ -79,7 +80,7 @@ class ForkIdSpec extends AnyWordSpec with Matchers {
7980
create(10500839) shouldBe ForkId(0x9007bfccL, Some(11700000))
8081
create(11700000 - 1) shouldBe ForkId(0x9007bfccL, Some(11700000))
8182
create(11700000) shouldBe ForkId(0xdb63a1caL, Some(13189133))
82-
create(13189133-1) shouldBe ForkId(0xdb63a1caL, Some(13189133))
83+
create(13189133 - 1) shouldBe ForkId(0xdb63a1caL, Some(13189133))
8384
create(13189133) shouldBe ForkId(0x0f6bf187L, None) // First Magneto block
8485
}
8586

@@ -95,7 +96,7 @@ class ForkIdSpec extends AnyWordSpec with Matchers {
9596
create(999983) shouldBe ForkId(0xf42f5539L, Some(2520000))
9697
create(2519999) shouldBe ForkId(0xf42f5539L, Some(2520000))
9798
create(2520000) shouldBe ForkId(0x66b5c286L, Some(3985893))
98-
create(3985893-1) shouldBe ForkId(0x66b5c286L, Some(3985893))
99+
create(3985893 - 1) shouldBe ForkId(0x66b5c286L, Some(3985893))
99100
create(3985893) shouldBe ForkId(0x92b323e0L, None) // First Magneto block
100101
}
101102

src/test/scala/io/iohk/ethereum/jsonrpc/PersonalServiceSpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ class PersonalServiceSpec
432432
phoenixBlockNumber = 0,
433433
petersburgBlockNumber = 0,
434434
ecip1098BlockNumber = 0,
435-
ecip1097BlockNumber = 0,
435+
ecip1097BlockNumber = 0
436436
),
437437
customGenesisFileOpt = None,
438438
customGenesisJsonOpt = None,

0 commit comments

Comments
 (0)