Add support for Namada#3705
Conversation
….1-namada Update yuji 1.7.1 namada
ljoss17
left a comment
There was a problem hiding this comment.
Added some nits.
In addition:
- For the MSRV, it needs to be updated to
v1.79.0due toparity-scale-codec@3.7.0 requires rustc 1.79.0 - For cargo doc, we can use the
stabletoolchain instead ofnightly-2024-04-21
|
Sorry it seems that for cargo doc we need the nightly build, |
.github/workflows/namada.yaml
Outdated
| workflow_dispatch: | ||
| pull_request: | ||
| paths: | ||
| - .github/workflows/integration.yaml |
There was a problem hiding this comment.
| - .github/workflows/integration.yaml | |
| - .github/workflows/namada.yaml |
.github/workflows/namada.yaml
Outdated
| fail-fast: false | ||
| matrix: | ||
| chain: | ||
| - package: .#gaia18 |
There was a problem hiding this comment.
Yes, we could also update to Gaia 20. I will look into this
| env: | ||
| OPERATING_SYSTEM: Linux | ||
| run: | | ||
| release_url=$(curl -s "https://api.github.com/repos/anoma/namada/releases/188247367" | grep "browser_download_url" | cut -d '"' -f 4 | grep "$OPERATING_SYSTEM") |
There was a problem hiding this comment.
@yito88 Is there a way to automatically pull the latest deployed version of Namada, to ensure we stay up to date consistently without having to change the workflow file everytime?
There was a problem hiding this comment.
There is no way for now I think. We need to update the URL when a new version is released.
| @@ -6,9 +6,23 @@ | |||
| FROM rust:1-buster AS build-env | |||
There was a problem hiding this comment.
@ljoss17 Let's trigger this workflow manually from the branch before merging to make sure it works
There was a problem hiding this comment.
| // TODO: extract Tendermint-related configs into a separate substructure | ||
| // that can be used both by CosmosSdkConfig and configs for nonSDK chains. |
There was a problem hiding this comment.
@ljoss17 Let's open an issue for this, would make the code much nicer eventually
Co-authored-by: Romain Ruetschi <github@romac.me> Signed-off-by: Yuji Ito <yito88@users.noreply.github.com>
Add support for relaying between Namada and Cosmos-base chains. - Add Namada to `ChainConfig` - Reuse `CosmosSdkConfig` for generating Tendermint light clients - Add `NamadaChain` as `ChainEndpoint` implementation - See `crates/relayer/src/chain/namada.rs` and files under `crates/relayer/src/chain/namada` - To submit Namada transactions and query - Store Namada key to KeyRing --------- Signed-off-by: Yuji Ito <yito88@users.noreply.github.com> Co-authored-by: Luca Joss <luca@informal.systems> Co-authored-by: Luca Joss <43531661+ljoss17@users.noreply.github.com> Co-authored-by: Gianmarco Fraccaroli <gianmarco.fraccaroli@gmail.com> Co-authored-by: Tomáš Zemanovič <tomas@heliax.dev> Co-authored-by: Romain Ruetschi <github@romac.me>
Add support for relaying between Namada and Cosmos-base chains. - Add Namada to `ChainConfig` - Reuse `CosmosSdkConfig` for generating Tendermint light clients - Add `NamadaChain` as `ChainEndpoint` implementation - See `crates/relayer/src/chain/namada.rs` and files under `crates/relayer/src/chain/namada` - To submit Namada transactions and query - Store Namada key to KeyRing --------- Signed-off-by: Yuji Ito <yito88@users.noreply.github.com> Co-authored-by: Luca Joss <luca@informal.systems> Co-authored-by: Luca Joss <43531661+ljoss17@users.noreply.github.com> Co-authored-by: Gianmarco Fraccaroli <gianmarco.fraccaroli@gmail.com> Co-authored-by: Tomáš Zemanovič <tomas@heliax.dev> Co-authored-by: Romain Ruetschi <github@romac.me>
* Update CHANGELOG.md * Create unclog release * Bump versions * Update Cargo.lock * Revert "Add support for Namada (#3705)" This reverts commit 00a0cf5. * Cargo clippy fix * Add support for Namada (#3705) Add support for relaying between Namada and Cosmos-base chains. - Add Namada to `ChainConfig` - Reuse `CosmosSdkConfig` for generating Tendermint light clients - Add `NamadaChain` as `ChainEndpoint` implementation - See `crates/relayer/src/chain/namada.rs` and files under `crates/relayer/src/chain/namada` - To submit Namada transactions and query - Store Namada key to KeyRing --------- Signed-off-by: Yuji Ito <yito88@users.noreply.github.com> Co-authored-by: Luca Joss <luca@informal.systems> Co-authored-by: Luca Joss <43531661+ljoss17@users.noreply.github.com> Co-authored-by: Gianmarco Fraccaroli <gianmarco.fraccaroli@gmail.com> Co-authored-by: Tomáš Zemanovič <tomas@heliax.dev> Co-authored-by: Romain Ruetschi <github@romac.me> * Update release to v1.10.5 * Add support for Namada (#3705) Add support for relaying between Namada and Cosmos-base chains. - Add Namada to `ChainConfig` - Reuse `CosmosSdkConfig` for generating Tendermint light clients - Add `NamadaChain` as `ChainEndpoint` implementation - See `crates/relayer/src/chain/namada.rs` and files under `crates/relayer/src/chain/namada` - To submit Namada transactions and query - Store Namada key to KeyRing --------- Signed-off-by: Yuji Ito <yito88@users.noreply.github.com> Co-authored-by: Luca Joss <luca@informal.systems> Co-authored-by: Luca Joss <43531661+ljoss17@users.noreply.github.com> Co-authored-by: Gianmarco Fraccaroli <gianmarco.fraccaroli@gmail.com> Co-authored-by: Tomáš Zemanovič <tomas@heliax.dev> Co-authored-by: Romain Ruetschi <github@romac.me> * Spellcheck * fix clippy * Update nix flake * Fix query balance command to be compatible with Osmosis v27 * Fix command output parsing for Osmosis * Set explicit timeout to 4 hours for Namada to Namada CI job * Add memory swap and reduce CPU overload for Namada<->Namada CI job * Add jlumbroso/free-disk-space@main step for Namada CI job * to Namada v1.1.0 (#4293) * for namada-net/namada#3797 * fix unbonding period * use pos_params.withdrawable_epoch_offset * just unbonding_len * Namada v1.1.0 * update Namada url for CI * ubuntu 24 for Namada binaries * fix for trusting period * Use Namada SDK release from crates.io * Update nix flake * Update CI with Namada v1.1.1 (#4295) * update CI for Namada v1.1.1 * update error message --------- Signed-off-by: Yuji Ito <yito88@users.noreply.github.com> Co-authored-by: Yuji Ito <yito88@users.noreply.github.com> Co-authored-by: Gianmarco Fraccaroli <gianmarco.fraccaroli@gmail.com> Co-authored-by: Tomáš Zemanovič <tomas@heliax.dev> Co-authored-by: Romain Ruetschi <github@romac.me>
Closes: #XXX
Description
To transfer tokens between Namada and Cosmos-base chains.
ChainConfigCosmosSdkConfigfor generating Tendermint light clientsNamadaChainasChainEndpointimplementationcrates/relayer/src/chain/namada.rsand files undercrates/relayer/src/chain/namadaPR author checklist:
unclog.docs/).Reviewer checklist:
Files changedin the GitHub PR explorer.