-
Notifications
You must be signed in to change notification settings - Fork 629
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Update neard init to specify config file type to download (#12072)
We change the `--download-config` parameter to take a string. - `neard init --download-config validator` downloads the `config.json` file for validators (tracking single shard, loading memtries). - `neard init --download-config rpc` downloads the `config.json` file for non-validator RPC nodes (tracking all shards, NOT loading memtries). - `neard init --download-config archival` downloads the `config.json` file for non-validator archival nodes (tracking all shards, NOT loading memtries, archive field set to true). - `neard init --download-config` (with no value) defaults to `validator` config (for backwards compatibility). We map the flag to a specific URL containing the config type. The new config files per config type can be found at https://github.com/tayfunelmas/near-configs. The new config files are already uploaded to AWS S3 with the new URLs. NOTE: For indexer and chainsync-loadtest params, we use `rpc` config type. Next: We will update the Near validator documentation to use the new flag value. Tracking issue: #12070
- Loading branch information
1 parent
ea8accb
commit a865808
Showing
11 changed files
with
76 additions
and
18 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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