Skip to content

Commit

Permalink
update deposit cli version to 2.7.0, accepted by the holesky launchpa…
Browse files Browse the repository at this point in the history
…d. (#26)

* update deposit cli version to 2.7.0, accepted by the holesky launchpad.

* add proper comment
  • Loading branch information
y0sher authored Nov 13, 2023
1 parent 36c7256 commit 746dca2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/initiator/initiator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 746dca2

Please sign in to comment.