Is there an existing issue for this?
What happened?
Trying to use values such as {} for upgrade-info results in error missing checksum query parameter.
The problem is that ParseInfo attempts to parse the upgrade info as a URL and consider it as such if no error is returned. However most strings can parse as a valid URL, especially relative ones.
It should at least check that the URL is absolute.
Cosmos SDK Version
0.46
How to reproduce?
$ gaiad tx gov submit-proposal software-upgrade foo --upgrade-height 123 --upgrade-info '{}'
Error: missing checksum query parameter
Is there an existing issue for this?
What happened?
Trying to use values such as
{}forupgrade-inforesults in errormissing checksum query parameter.The problem is that
ParseInfoattempts to parse the upgrade info as a URL and consider it as such if no error is returned. However most strings can parse as a valid URL, especially relative ones.It should at least check that the URL is absolute.
Cosmos SDK Version
0.46
How to reproduce?