upgrade: update testnet contracts bytecode and hardfork time for Feynman (#2237)

This commit is contained in:
Roshan 2024-02-26 16:08:50 +08:00 committed by GitHub
parent 70adb6077a
commit 0574452b4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 838 additions and 708 deletions

File diff suppressed because it is too large Load Diff

@ -18,10 +18,7 @@ import (
"github.com/ethereum/go-ethereum/rpc"
)
// TODO: SecondsPerDay represents the seconds in a day, it should be 86400
// We set it to 60 for testing purpose and we will change it back to 86400 when launching
// const SecondsPerDay uint64 = 86400
const SecondsPerDay uint64 = 60
const SecondsPerDay uint64 = 86400
// the params should be two blocks' time(timestamp)
func sameDayInUTC(first, second uint64) bool {

File diff suppressed because one or more lines are too long

@ -186,9 +186,7 @@ var (
// UnixTime: 1702972800 is December 19, 2023 8:00:00 AM UTC
ShanghaiTime: newUint64(1702972800),
KeplerTime: newUint64(1702972800),
// TODO
FeynmanTime: nil,
FeynmanTime: newUint64(1710136800),
Parlia: &ParliaConfig{
Period: 3,