From c6b91c973778087e0c7048a954d654a7cadb5fcb Mon Sep 17 00:00:00 2001 From: thinkAfCod Date: Wed, 28 Feb 2024 10:25:06 +0800 Subject: [PATCH] fix: chain config of base network --- hildr-node/src/main/java/io/optimism/config/Config.java | 4 ++-- hildr-node/src/test/java/io/optimism/config/ConfigTest.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hildr-node/src/main/java/io/optimism/config/Config.java b/hildr-node/src/main/java/io/optimism/config/Config.java index 95533a25..944e27dc 100644 --- a/hildr-node/src/main/java/io/optimism/config/Config.java +++ b/hildr-node/src/main/java/io/optimism/config/Config.java @@ -410,7 +410,7 @@ public static ChainConfig baseGoerli() { BigInteger.valueOf(3600L), BigInteger.valueOf(600L), BigInteger.valueOf(1683219600L), - BigInteger.valueOf(1699981200L), + BigInteger.valueOf(-1L), BigInteger.valueOf(-1L), BigInteger.valueOf(2L), "0x4200000000000000000000000000000000000016"); @@ -449,7 +449,7 @@ public static ChainConfig baseSepolia() { BigInteger.valueOf(3600L), BigInteger.valueOf(600L), BigInteger.ZERO, - BigInteger.valueOf(1699981200L), + BigInteger.valueOf(-1L), BigInteger.valueOf(-1L), BigInteger.valueOf(2L), "0x4200000000000000000000000000000000000016"); diff --git a/hildr-node/src/test/java/io/optimism/config/ConfigTest.java b/hildr-node/src/test/java/io/optimism/config/ConfigTest.java index 676b3723..88152ae4 100644 --- a/hildr-node/src/test/java/io/optimism/config/ConfigTest.java +++ b/hildr-node/src/test/java/io/optimism/config/ConfigTest.java @@ -101,7 +101,7 @@ void baseGoerli() { @Test void baseSepolia() { ChainConfig chainConfig = ChainConfig.baseSepolia(); - assertEquals(chainConfig.canyonTime(), BigInteger.valueOf(1699981200L)); + assertEquals(chainConfig.canyonTime(), BigInteger.valueOf(-1L)); } /**