-
Notifications
You must be signed in to change notification settings - Fork 0
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
relayer: scope config per endpoint #8
Commits on Oct 1, 2023
-
wip: make config an endpoint-specific enum
Work towards informalsystems#3636 This turns out to be a very good place to start to discover requirements for Hermes to operate in a more multi-chain way, since it allows discovering which parts of the code access Cosmos-specific data to do Cosmos-specific logic, and which parts are required for general relaying. The only change to the existing config format so far is the change in semantics of the `type` field, which now must be `CosmosSdk`. I did not preserve the existing logic and tests that parsing different variations of casing and dashes are supported, because I don't think this is particularly valuable to support. So far, only the core `ibc-relayer` crate is updated; the cli is not, because it's not necessarily clear how the cli should change to accomodate non-SDK chains.
Configuration menu - View commit details
-
Copy full SHA for 92ea480 - Browse repository at this point
Copy the full SHA 92ea480View commit details
Commits on Oct 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f315763 - Browse repository at this point
Copy the full SHA f315763View commit details
Commits on Oct 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 362f4a7 - Browse repository at this point
Copy the full SHA 362f4a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b25ce6 - Browse repository at this point
Copy the full SHA 9b25ce6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b6f769 - Browse repository at this point
Copy the full SHA 4b6f769View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71cf297 - Browse repository at this point
Copy the full SHA 71cf297View commit details -
Configuration menu - View commit details
-
Copy full SHA for baad978 - Browse repository at this point
Copy the full SHA baad978View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b5f8fb - Browse repository at this point
Copy the full SHA 6b5f8fbView commit details
Commits on Oct 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4457c2b - Browse repository at this point
Copy the full SHA 4457c2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 02f9a87 - Browse repository at this point
Copy the full SHA 02f9a87View commit details -
Configuration menu - View commit details
-
Copy full SHA for c259910 - Browse repository at this point
Copy the full SHA c259910View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a6baeb - Browse repository at this point
Copy the full SHA 0a6baebView commit details
Commits on Oct 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ed1ff5f - Browse repository at this point
Copy the full SHA ed1ff5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 25c7cf8 - Browse repository at this point
Copy the full SHA 25c7cf8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6eadc0 - Browse repository at this point
Copy the full SHA a6eadc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e891697 - Browse repository at this point
Copy the full SHA e891697View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29b1bde - Browse repository at this point
Copy the full SHA 29b1bdeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 12c02de - Browse repository at this point
Copy the full SHA 12c02deView commit details -
Configuration menu - View commit details
-
Copy full SHA for f28601b - Browse repository at this point
Copy the full SHA f28601bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 64083a3 - Browse repository at this point
Copy the full SHA 64083a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f02d10 - Browse repository at this point
Copy the full SHA 8f02d10View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44032e5 - Browse repository at this point
Copy the full SHA 44032e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a09a0c - Browse repository at this point
Copy the full SHA 0a09a0cView commit details
Commits on Oct 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b1a39d7 - Browse repository at this point
Copy the full SHA b1a39d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c158cba - Browse repository at this point
Copy the full SHA c158cbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for e7028fc - Browse repository at this point
Copy the full SHA e7028fcView commit details
Commits on Oct 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3cb9db3 - Browse repository at this point
Copy the full SHA 3cb9db3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33e2cf5 - Browse repository at this point
Copy the full SHA 33e2cf5View commit details -
Configuration menu - View commit details
-
Copy full SHA for cddce8d - Browse repository at this point
Copy the full SHA cddce8dView commit details
Commits on Oct 18, 2023
-
Add
evidence
command for monitoring and reporting misbehavior evide……nce to counterparty clients (informalsystems#3456) * evidence worker PoC for testing * Cleanup * Use ibc-proto branch with new provider message * Add `MsgSubmitIcsConsumerMisbehaviour` domain type from `anca/ics-misbehaviour-handling` branch * Report misbehavior evidence to all counterparty clients of the misbehaving chain * Cleanup * Submit CCV misbehaviour if needed * Cleanup * Check if counterparty is CCV provider * Cleanup * Add comment * Set proposer address in header2 * Prepend client updates - work in progress * Increase the timeout on CI (informalsystems#3436) * Improve some messages in `config auto` (informalsystems#3438) * Update Data-Requirements.md Signed-off-by: Romain Ruetschi <[email protected]> * Update Data-Requirements.md Signed-off-by: Romain Ruetschi <[email protected]> * Add CCV chain bootstrap to CI with Neutron and Gaia (informalsystems#3451) * Bump serde from 1.0.164 to 1.0.166 (informalsystems#3458) * Bump async-trait from 0.1.68 to 0.1.69 (informalsystems#3459) * Bump erased-serde from 0.3.25 to 0.3.26 (informalsystems#3460) * Document clock drift parameters in guide (informalsystems#3420) * Add clock-drift.md file to guide * Add section on mis-configuring clock drift * Update guide/src/advanced/troubleshooting/clock-drift.md Co-authored-by: Anca Zamfir <[email protected]> Signed-off-by: Sean Chen <[email protected]> * Update guide/src/advanced/troubleshooting/clock-drift.md Co-authored-by: Anca Zamfir <[email protected]> Signed-off-by: Sean Chen <[email protected]> * Remove redundant section * Update guide/src/advanced/troubleshooting/clock-drift.md Co-authored-by: Anca Zamfir <[email protected]> Signed-off-by: Sean Chen <[email protected]> * Update guide/src/advanced/troubleshooting/clock-drift.md Co-authored-by: Anca Zamfir <[email protected]> Signed-off-by: Sean Chen <[email protected]> * Explain what `C` constant represents * Add reference to forward lunatic attack --------- Signed-off-by: Sean Chen <[email protected]> Co-authored-by: Anca Zamfir <[email protected]> * Bump uuid from 1.3.3 to 1.4.0 (informalsystems#3461) Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.3.3 to 1.4.0. - [Release notes](https://github.com/uuid-rs/uuid/releases) - [Commits](uuid-rs/uuid@1.3.3...1.4.0) --- updated-dependencies: - dependency-name: uuid dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix wrong sequence number in `MsgTimeoutOnClose` (informalsystems#3440) The MsgTimeoutOnClose requires sequence of dstchannel.NextRecv in ordered channels, rather than packet.Sequence. The code above resolve the sequence for ordered and unordered, just while creating msg it is ignored. Signed-off-by: Puneet <[email protected]> * Include client updates for supporting messages when assembling messages to relay from the operational data (informalsystems#3468) * Include client updates for supporting messages when assembling messages to relay from the operational data * Add changelog entry * Use `max_expected_time_per_block` value for the `max_block_time` (informalsystems#3467) * Use max_block_time queried from /genesis * Clean solution * Add unclog entry * Remove serde-with dependency * `config auto` now generates a config file even when it encounters an error (informalsystems#3466) * Stub out code flow * Stub out code flow * Change return type of `hermes_cofig` fn * Define ConfigAutoError type * Add some printlns * Change `get_configs` return type * Change AutoCmd::run * Get it to compile * Fix false reporting of missing chain configs * Change get_data_from_handles * Get it working * Remove some debugging code * Cargo fmt * Update `get_configs` doc comment * Update gas price warning in guide * Cargo fmt * Build client update for header at common height * Add forking script * Check for misbehavior in the last 100 blocks * Add ICS misbehaviour test * Add interchain-security to flake.nix * Use cosmos.nix branch with proper version of interchain-security * Remove test script * Update guide templates * Post-merge fixes * Update deps * Use latest ICS protos * Adapt to change of `MsgSubmitIcsConsumerMisbehaviour::misbehaviour` to `Any` in upstream protos * Submit both ICS and standard misbehaviour messages to provider chains * Fix bug where update client message was dropped * Revert changes of misbehaviour field to Any * Submit consumer double voting evidence to the provider * Formatting * Fix clippy warnings * Update guide templates * fix: send evidences with non-empty infraction block header (informalsystems#3578) * try to fill infraction header in double voting msg * reformat * fix nit * fmt * Formatting * Make infraction block header required * Stop after submitting double voting evidence to the provider * Force refresh of account before sending a tx * Revert refresh on every call * Remove hermes binary at root * Send ICS misbehaviour for CCV consumer chain in misbehaviour worker * Make the evidence command resilient to error, eg. because a client was already frozen * Improve logging * Go back to refreshing the account everytime * Improve CI test script * Improve logs * Add `key-name` and `check-past-blocks` arguments to `evidence` command (informalsystems#3603) * Add `key-name` and `check-past-blocks` arguments to `evidence` command * Update templates * Better logs * Update nix flake * Patch check-guide tool with CCV protos * Do not refresh account everytime * Fix for zero height * Update ICS misbehaviour test to use a different wallet for the `evidence` command * Remove double sign script --------- Co-authored-by: Romain Ruetschi <[email protected]> * Fix post-merge conflict * Better light client attack misbehaviour test * Improve logs in fishy error cases * Better error messages when client state is of unexpected type * Gracefully handle unsupported client types * WIP: Add double sign test * Add test for consumer chain double signing * Gracefully handle unsupported client types in `query connnections` * Update flake lockfile * Better logs in evidence command * Rename jobs and script * Fix evidence submission (informalsystems#3612) * Fix evidence submission by using fix in custom branch tendermint-rs * Check that evidence command saw the evidence in the block * Skip submitting evidence if client is already frozen or expired * Skip frozen clients * Add more delay in standard misbehaviour test * Use latest tendermint-rs * Properly compute the trusted validator set * Cleanup * Remove sleeps in double sign test * Update ibc-proto * Update ibc-proto to v0.36.0 * Do not panic when unable to find the chain * Throttle the requests made to the chain while checking past blocks * Add changelog entries * Show logs on failure * Update ibc-proto to v0.36.1 * Update `ibc-proto` to v0.38.0-pre.1 which includes the required CCV protos * Improve logs * Check for successful submission in the integration test * Fix CI script for the case where the client is already frozen * Submit the ICS misbehaviour for LCA and double signing even if client is frozen. * Fix clippy warning * Avoid sending client updates without the misbehavior * Include proposer in validator set * Only submit ICS evidence when provider has a consensus state at the common height * Update flake * WIP: Use Rust light client to report evidence * WIP: Use Go light client to detect misbehaviour * Issue error when evidence is emitted at forked height * Detect and report misbehaviour using the CometBFT light client to avoid freezing the client too early * Add test for when the client is frozen already by the relayer * Only send the ICS misbehaviour message when the provider client is already frozen * Better cache frozen status of client * Never send IBC message if client is already frozen Co-authored-by: Anca Zamfir <[email protected]> Signed-off-by: Romain Ruetschi <[email protected]> * No need to submit client update if provider chain already has common consensus state * Abort early if there are no messages to send * Update comment * Update double sign test * Skip UpdateClient message if counterparty has consensus state at common height, whether or not it is a provider chain * Improve logs a little bit * Small refactor * Check that counterparty client id matches the CCV client id on the provider * Create a dummy connection to exercise the provider detection code --------- Signed-off-by: Romain Ruetschi <[email protected]> Signed-off-by: Sean Chen <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Puneet <[email protected]> Signed-off-by: Romain Ruetschi <[email protected]> Co-authored-by: Anca Zamfir <[email protected]> Co-authored-by: Luca Joss <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sean Chen <[email protected]> Co-authored-by: Anca Zamfir <[email protected]> Co-authored-by: Puneet <[email protected]> Co-authored-by: Simon Noetzlin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for db50666 - Browse repository at this point
Copy the full SHA db50666View commit details -
Configuration menu - View commit details
-
Copy full SHA for 458e5f3 - Browse repository at this point
Copy the full SHA 458e5f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5767001 - Browse repository at this point
Copy the full SHA 5767001View commit details
Commits on Oct 19, 2023
-
Set CompatMode fallback to v0.34 when the version query fails (inform…
…alsystems#3663) * Set CompatMode fallback to v0.34 when the version query fails * Add changelog entry * Update changelog entry Signed-off-by: Romain Ruetschi <[email protected]> --------- Signed-off-by: Romain Ruetschi <[email protected]> Co-authored-by: Romain Ruetschi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7bce263 - Browse repository at this point
Copy the full SHA 7bce263View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1520594 - Browse repository at this point
Copy the full SHA 1520594View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a41f69 - Browse repository at this point
Copy the full SHA 3a41f69View commit details
Commits on Oct 20, 2023
-
Update to ibc-proto v0.38.0 and remove unneeded object-safe trait def…
…initions (informalsystems#3671) * Update to ibc-proto v0.38.0 and remove unneeded object-safe trait definitions * Remove erased-serde and dyn-clone dependencies
Configuration menu - View commit details
-
Copy full SHA for 5417c47 - Browse repository at this point
Copy the full SHA 5417c47View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac916f5 - Browse repository at this point
Copy the full SHA ac916f5View commit details
Commits on Oct 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9a7ef31 - Browse repository at this point
Copy the full SHA 9a7ef31View commit details -
Fix a bug in
query_next_sequence_receive
, where if we didnt ask for…… a proof, then the query height was ignored (informalsystems#3662)
Configuration menu - View commit details
-
Copy full SHA for 7e2b14c - Browse repository at this point
Copy the full SHA 7e2b14cView commit details
Commits on Oct 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3f8332c - Browse repository at this point
Copy the full SHA 3f8332cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e7b5ee - Browse repository at this point
Copy the full SHA 4e7b5eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for c42de92 - Browse repository at this point
Copy the full SHA c42de92View commit details -
Configuration menu - View commit details
-
Copy full SHA for e588311 - Browse repository at this point
Copy the full SHA e588311View commit details -
Configuration menu - View commit details
-
Copy full SHA for 979cef4 - Browse repository at this point
Copy the full SHA 979cef4View commit details
Commits on Oct 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d7f8674 - Browse repository at this point
Copy the full SHA d7f8674View commit details