-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change config format to scope configs by type #3644
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
92ea480
wip: make config an endpoint-specific enum
hdevalence f315763
propagate changes into relayer-cli and add questions
hdevalence 362f4a7
relayer-cli: propagate enum chain config changes
erwanor 9b25ce6
relayer: add `ChainConfig::set_key_name`
erwanor 4b6f769
test-framework: begin propagating config changes
erwanor 71cf297
relayer-cli: momentarily allow irrefutable patterns
erwanor baad978
relayer: run cargo fmt
erwanor 6b5f8fb
integration-tests: propagate config enum api changes
erwanor 4457c2b
Merge remote-tracking branch 'upstream/master' into config-enum
erwanor 02f9a87
integration-tests: fix errors with `ica` feature
erwanor c259910
integration-tests: fix errors with `ics29` feature
erwanor 0a6baeb
integration-tests: fix errors with `fee-grant` feature
erwanor ed1ff5f
integration-tests: fix errors with `mbt` feature
erwanor 25c7cf8
integration-tests: fix errors with `ordered` feature
erwanor a6eadc0
Merge remote-tracking branch 'upstream/master' into config-enum
erwanor e891697
relayer-cli: fix conflict introduced by merge
erwanor 29b1bde
integration-test: fix simulation:
erwanor 12c02de
hermes: various linting fixes
erwanor f28601b
hermes: include chain type in default config file
erwanor 64083a3
hermes: add chain type to all config examples
erwanor 8f02d10
ci: update misbehavior config
erwanor 44032e5
relayer-rest(tests): add chain type to mock config
erwanor 0a09a0c
ci(misbehavior): edit config of forked chain
erwanor b1a39d7
relayer(config): remove dead code
erwanor c158cba
relayer: lift keys to `ChainConfig::list_keys`
erwanor e7028fc
relayer: move config validation to `ibc_relayer::config`
erwanor 3cb9db3
relayer: move cosmos config to `chain::cosmos::config`
erwanor 33e2cf5
relayer: add `chain::cosmos::config` module
erwanor cddce8d
relayer-cli(chain-registry): update path to `CosmosSdkConfig`
erwanor 4e7b5ee
Merge remote-tracking branch 'upstream/master' into config-enum
erwanor c42de92
ci(misbehavior-ics): add chain type to config file
erwanor e588311
relayer(evidence): exit early if chain type is not cosmos sdk
erwanor 979cef4
relayer(cosmos): refactor cosmos-specific config validation
erwanor d7f8674
Add changelog entries
romac File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
.changelog/unreleased/breaking-changes/ibc-relayer-cli/3636-config-chain-type.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
- The `type` key in the `[[chains]]` section is now required. ([\#3636](https://github.com/informalsystems/hermes/issues/3636)) | ||
If you previously did not specify that key, you must now set it to `type = "CosmosSdk"`, eg. | ||
|
||
```rust | ||
[[chains]] | ||
id = "osmosis-1" | ||
type = "CosmosSdk" | ||
``` |
3 changes: 3 additions & 0 deletions
3
.changelog/unreleased/improvements/ibc-relayer/3636-config-enum.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- Change config format to scope configs by type. This enables adding support for | ||
more types of chain, even when those have different config options than each | ||
other. ([\#3636](https://github.com/informalsystems/hermes/issues/3636)) |
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
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This ties in to #3641
Perhaps the key manager should only support opaque byte strings, and let the rest be handled by the backend?