When generating a deposit with the staking-deposit-cli, the resulting deposit file will contain a cli version: deposit_cli_version. The launchpad currently verifies this value is above a certain threshold defined in the env file, 2.7.0.
There are two problems:
If this check fails, the resulting error presented to the user says there is a problem with the network
This makes it difficult for multiple tools to exist
To get around these two issues, this PR removes the version check entirely.
As a side effect, compare-version is no longer a direct dependency as this was the only location where it it is used but it is still a dependency of husky
When generating a deposit with the staking-deposit-cli, the resulting deposit file will contain a cli version:
deposit_cli_version
. The launchpad currently verifies this value is above a certain threshold defined in the env file, 2.7.0.There are two problems:
To get around these two issues, this PR removes the version check entirely.
As a side effect,
compare-version
is no longer a direct dependency as this was the only location where it it is used but it is still a dependency ofhusky