From 746dca204e05e17dbe9b9b5a82af3b183a0edf79 Mon Sep 17 00:00:00 2001 From: rehs0y Date: Mon, 13 Nov 2023 14:11:53 +0200 Subject: [PATCH] update deposit cli version to 2.7.0, accepted by the holesky launchpad. (#26) * update deposit cli version to 2.7.0, accepted by the holesky launchpad. * add proper comment --- pkgs/initiator/initiator.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/initiator/initiator.go b/pkgs/initiator/initiator.go index 72acc3e8..6f16413f 100644 --- a/pkgs/initiator/initiator.go +++ b/pkgs/initiator/initiator.go @@ -73,6 +73,9 @@ type DepositDataJson struct { DepositCliVersion string `json:"deposit_cli_version"` } +// DepositCliVersion is last version accepted by launchpad +const DepositCliVersion = "2.7.0" + // KeyShares structure to create an json file for ssv smart contract type KeyShares struct { Version string `json:"version"` @@ -480,7 +483,7 @@ func (c *Initiator) reconstructAndVerifyDepositData(withdrawCredentials []byte, DepositDataRoot: hex.EncodeToString(root[:]), ForkVersion: hex.EncodeToString(forkbytes[:]), NetworkName: string(network), - DepositCliVersion: "2.5.0", + DepositCliVersion: DepositCliVersion, } return depositDataJson, nil