opengov-cli
opengov-cli copied to clipboard
Add the option to specify the --at time in wall clock time
When creating a referendum --at must be specified in blocks, requiring the user to calculate this back from what is usually a wall clock date and time.
It should be straightforward to do a best-effort conversion to a given relay's block number based on an input in the format of 25-05-21T0800 for example, or some other reasonable format (representing 8am on 21st May 2025) and for the cli to turn this into a blocktime, and maybe include a link to the subscan future block in the output.