-
Notifications
You must be signed in to change notification settings - Fork 618
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(forknet): allow url update when using update-binaries cmd (#11415)
Add two parameters to update-binaries to allow url update for an epoch. Usage: `mirror update-binaries ` # will redownload all binaries in `config.json` `mirror amend-binaries --neard-binary-url <some url> --epoch-height 0` # will update the url for epoch height 0 in `config.json` and then download all binaries. `mirror amend-binaries --neard-binary-url <some url> --binary-idx 0` # will update the url for the first binary which is at epoch height 0 in `config.json` and then download all binaries. `mirror amend-binaries --neard-binary-url <some url> --epoch-height 10` # will insert the url for epoch height 10 in `config.json` and then download all binaries. `mirror amend-binaries --neard-binary-url <some url> --binary-idx 1` # will update the url for the second binary which is at epoch height 10 in `config.json` and then download all binaries.
- Loading branch information
1 parent
936d9fd
commit 33f9ca3
Showing
3 changed files
with
108 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters