upgrade: update testnet contracts bytecode and hardfork time for Feynman (#2237)
This commit is contained in:
parent
70adb6077a
commit
0574452b4d
File diff suppressed because it is too large
Load Diff
@ -18,10 +18,7 @@ import (
|
|||||||
"github.com/ethereum/go-ethereum/rpc"
|
"github.com/ethereum/go-ethereum/rpc"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TODO: SecondsPerDay represents the seconds in a day, it should be 86400
|
const SecondsPerDay uint64 = 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
|
|
||||||
|
|
||||||
// the params should be two blocks' time(timestamp)
|
// the params should be two blocks' time(timestamp)
|
||||||
func sameDayInUTC(first, second uint64) bool {
|
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
|
// UnixTime: 1702972800 is December 19, 2023 8:00:00 AM UTC
|
||||||
ShanghaiTime: newUint64(1702972800),
|
ShanghaiTime: newUint64(1702972800),
|
||||||
KeplerTime: newUint64(1702972800),
|
KeplerTime: newUint64(1702972800),
|
||||||
|
FeynmanTime: newUint64(1710136800),
|
||||||
// TODO
|
|
||||||
FeynmanTime: nil,
|
|
||||||
|
|
||||||
Parlia: &ParliaConfig{
|
Parlia: &ParliaConfig{
|
||||||
Period: 3,
|
Period: 3,
|
||||||
|
Loading…
Reference in New Issue
Block a user