From b021019d358250956233d347aeb95cb76dd39d4b Mon Sep 17 00:00:00 2001 From: Patrick Date: Thu, 2 May 2024 12:45:01 +0200 Subject: [PATCH] (NOBIDS) fix post-deneb forkversion (#2873) --- db/node_jobs.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/db/node_jobs.go b/db/node_jobs.go index 81da90d593..de515e1d37 100644 --- a/db/node_jobs.go +++ b/db/node_jobs.go @@ -358,12 +358,11 @@ func CreateVoluntaryExitNodeJob(nj *types.NodeJob) (*types.NodeJob, error) { default: } - forkVersion := utils.ForkVersionAtEpoch(uint64(njd.Message.Epoch)) - err = utils.VerifyVoluntaryExitSignature(njd, forkVersion.CurrentVersion, vali.Pubkey) + forkVersion := utils.MustParseHex(utils.Config.Chain.ClConfig.CappellaForkVersion) + err = utils.VerifyVoluntaryExitSignature(njd, forkVersion, vali.Pubkey) if err != nil { return nil, err } - _, err = WriterDb.Exec(`insert into node_jobs (id, type, status, data, created_time) values ($1, $2, $3, $4, now())`, nj.ID, nj.Type, nj.Status, nj.RawData) if err != nil { return nil, err