From 2ebffb9e12b04d07c16b8c3177a3c44642c167ba Mon Sep 17 00:00:00 2001 From: lightclient Date: Wed, 27 Aug 2025 07:59:01 -0600 Subject: [PATCH] internal/ethapi: don't nil out activation time on current fork --- internal/ethapi/api.go | 1 - internal/ethapi/testdata/eth_config-current.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index 8390a9b5bb..eb662f9a71 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -1209,7 +1209,6 @@ func (api *BlockChainAPI) Config(ctx context.Context) (*configResponse, error) { } // Nil out last if no future-fork is configured. if resp.Next == nil { - resp.Current.ActivationTime = 0 resp.Last = nil } return &resp, nil diff --git a/internal/ethapi/testdata/eth_config-current.json b/internal/ethapi/testdata/eth_config-current.json index 67ede4c884..0597c23e39 100644 --- a/internal/ethapi/testdata/eth_config-current.json +++ b/internal/ethapi/testdata/eth_config-current.json @@ -1,6 +1,6 @@ { "current": { - "activationTime": 0, + "activationTime": 1742999832, "blobSchedule": { "target": 6, "max": 9,