SIGN IN SIGN UP
unionlabs / union UNCLAIMED

The trust-minimized, zero-knowledge bridging protocol, designed for censorship resistance, extremely high security, and usage in decentralized finance.

0 0 174 Rust

Use a message-based system for voyager (#635)

Lots of big changes! (Apologies for the 100k+ diff)

# Additions

- Move chain definitions into a standalone crate so they can be consumed
by hubble (eventually)

# Major changes (outside of voyager)

## `unionlabs`

- Make IBC message types generic over some of their field types (mainly
`Height`, `ClientId`, and `ClientType`)

- This allows for more type checking within the new relayer code -
instead of `MsgConnectionOpenTry`, you have the following:

    ```rust
    MsgConnectionOpenTry<
        ClientStateOf<L::HostChain>,
        L::ClientId,
        <L::Counterparty as LightClient>::ClientId,
        HeightOf<ChainOf<L::Counterparty>>,
        HeightOf<ChainOf<L>>,
    >
    ```

    Requiring that the values passed in are from the correct source.
B
benluelo committed
03eeb8fe1c04808ee48d2999c99ccb12797aabdf
Committed by GitHub <noreply@github.com> on 9/30/2023, 8:37:17 PM