Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds a flag --upgrade-height parameter that receives a Height parameter from the user that specifies the application height at which the host chain should halt before performing the client upgrade. --- * Pull in upstream changes * Add required `upgrade-height` flag to `upgrade client` command * Sleep until src application height reaches the target input height * Formatting * Have `upgrade client` command loop until chain reaches target height * Add gm.toml example file to guide and change thread sleep duration * Remove reference to dev-env * Add info's to wait loop and remove dev-env mentions from guide * Saving progress * Slight cleanup * Rename src -> host * Clean up example gm.toml * Fix host -> reference language * Quick fixes to the Hermes guide for testing the 'upgrade client' command * Added new upgrade-height flag to REQUIRED flags in help output. Fixed unit tests and added new test for the new flag * fix upgrade logic * fmt * naming * Updated guide and comment for 'upgrade client' command * Add changelog entry * Updated 'Testing client upgrade' in Hermes guide * naming * implement changes to `upgrade-clients` too * Formatting * pass height by value * error message fix * Change info's to debug's * fix race condition with node * Change info's to debug's * Cargo fmt * Updated ADR 010 to include 'upgrade-height' flag for 'upgrade clients' and added a unit test for the flag Co-authored-by: Romain Ruetschi <[email protected]> Co-authored-by: Luca Joss <[email protected]> Co-authored-by: Philippe Laferriere <[email protected]>
- Loading branch information