@@ -261,8 +261,9 @@ var (
261261 DelhiBlock : big .NewInt (29638656 ),
262262 IndoreBlock : big .NewInt (37075456 ),
263263 AhmedabadBlock : big .NewInt (48467456 ),
264- BhilaiBlock : big .NewInt (48467456 ),
265- RioBlock : big .NewInt (48473856 ),
264+ BhilaiBlock : big .NewInt (48467456 ),
265+ RioBlock : big .NewInt (48473856 ),
266+ TimestampHFBlock : big .NewInt (999999999999 ),
266267 StateSyncConfirmationDelay : map [string ]uint64 {
267268 "37075456" : 128 ,
268269 },
@@ -336,7 +337,8 @@ var (
336337 DelhiBlock : big .NewInt (73100 ),
337338 IndoreBlock : big .NewInt (73100 ),
338339 AhmedabadBlock : big .NewInt (11865856 ),
339- BhilaiBlock : big .NewInt (22765056 ),
340+ BhilaiBlock : big .NewInt (22765056 ),
341+ TimestampHFBlock : big .NewInt (999999999999 ),
340342 StateSyncConfirmationDelay : map [string ]uint64 {
341343 "0" : 128 ,
342344 },
@@ -414,7 +416,8 @@ var (
414416 DelhiBlock : big .NewInt (38189056 ),
415417 IndoreBlock : big .NewInt (44934656 ),
416418 AhmedabadBlock : big .NewInt (62278656 ),
417- BhilaiBlock : big .NewInt (73440256 ),
419+ BhilaiBlock : big .NewInt (73440256 ),
420+ TimestampHFBlock : big .NewInt (999999999999 ),
418421 StateSyncConfirmationDelay : map [string ]uint64 {
419422 "44934656" : 128 ,
420423 },
@@ -871,6 +874,7 @@ type BorConfig struct {
871874 AhmedabadBlock * big.Int `json:"ahmedabadBlock"` // Ahmedabad switch block (nil = no fork, 0 = already on ahmedabad)
872875 BhilaiBlock * big.Int `json:"bhilaiBlock"` // Bhilai switch block (nil = no fork, 0 = already on bhilai)
873876 RioBlock * big.Int `json:"rioBlock"` // Rio switch block (nil = no fork, 0 = already on rio)
877+ TimestampHFBlock * big.Int `json:"timestampHFBlock"` // Timestamp hardfork switch block (nil = no fork, 0 = already active)
874878}
875879
876880// String implements the stringer interface, returning the consensus engine details.
@@ -922,6 +926,10 @@ func (c *BorConfig) IsRio(number *big.Int) bool {
922926 return isBlockForked (c .RioBlock , number )
923927}
924928
929+ func (c * BorConfig ) IsTimestampHF (number * big.Int ) bool {
930+ return isBlockForked (c .TimestampHFBlock , number )
931+ }
932+
925933// // TODO: modify this function once the block number is finalized
926934// func (c *BorConfig) IsNapoli(number *big.Int) bool {
927935// if c.NapoliBlock != nil {
0 commit comments