Giter Site home page Giter Site logo

heliaxdev / hermes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from informalsystems/hermes

3.0 3.0 10.0 18.99 MB

IBC Relayer in Rust

Home Page: https://hermes.informal.systems

License: Apache License 2.0

Shell 2.38% JavaScript 0.01% Python 1.71% Rust 94.90% CSS 0.45% Nix 0.04% TLA 0.49% Dockerfile 0.02%

hermes's People

Contributors

adizere avatar alianbenabdallah avatar ancazamfir avatar andynog avatar brapse avatar cezarad avatar davirain-su avatar dependabot[bot] avatar ebuchman avatar faddat avatar greg-szabo avatar harveensingh avatar hu55a1n1 avatar istoilkovska avatar jonathanpberger avatar kevinji avatar ljoss17 avatar milosevic avatar mzabaluev avatar plafer avatar pratikbin avatar rnbguy avatar romac avatar seanchen1991 avatar shivani912 avatar soareschen avatar thanethomson avatar vitorenesduarte avatar wizdave97 avatar yito88 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

hermes's Issues

Transfers to `znam` addresses via ibc drain the balance of the relayer.

Hello, I apologize for going out of template.

bug

If I do an ibc transfer to znam addresses with XCS contracts deployed on Osmosis, hermes gets stuck, constantly trying to send tx to namada and draining the balance of the relayer address.

my question

Is there a command like drop-packets to fix this temporarily? Otherwise I will have to redeploy all contracts and set up a relayer to prepare a new testbed.

Namada chain didn't receive the ack with Hermes relaying

Summary of Bug

When a Namada chain sent a token to another Namada chain, (if the other chain didn't send, i.e. SendPacket event didn't happen,) the source chain didn't receive the ack though Hermes caught the WriteAcknowledgement event from the destination chain.

  • When I executed the CLI tx packet-ack manually, the source chain received the ack as expected
  • When both chains sent each token, both chains received each ack

Version

v1.7.1-namada-beta4

Steps to Reproduce

Acceptance Criteria


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate milestone (priority) applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

IBC client gets suddenly frozen despite of being constantly updated

I have already reported a similar (or perhaps related) behavior internally one month ago or so. It looks like something is broken with IBC clients statuses on Namada's side. Frozen height isn't even emitted correctly, so I assume that it's somehow related to the IBC client that suddenly starts not being properly updated at some point. I have no clue what may cause this, though.

hermes query client status --chain shielded-expedition.88f17d1d14 --client 07-tendermint-3546
SUCCESS Frozen
hermes query client state --chain shielded-expedition.88f17d1d14 --client 07-tendermint-3546
SUCCESS Tendermint(
    ClientState {
        chain_id: ChainId {
            id: "theta-testnet-001",
            version: 0,
        },
        trust_threshold: TrustThreshold(
            Ratio {
                numer: 2,
                denom: 3,
            },
        ),
        trusting_period: 115200s,
        unbonding_period: 172800s,
        max_clock_drift: 50s,
        latest_height: Height {
            revision: 0,
            height: 21020900,
        },
        proof_specs: ProofSpecs(
            [
                ProofSpec {
                    leaf_spec: Some(
                        LeafOp {
                            hash: Sha256,
                            prehash_key: NoHash,
                            prehash_value: Sha256,
                            length: VarProto,
                            prefix: [
                                0,
                            ],
                        },
                    ),
                    inner_spec: Some(
                        InnerSpec {
                            child_order: [
                                0,
                                1,
                            ],
                            child_size: 33,
                            min_prefix_length: 4,
                            max_prefix_length: 12,
                            empty_child: [],
                            hash: Sha256,
                        },
                    ),
                    max_depth: 0,
                    min_depth: 0,
                    prehash_key_before_comparison: false,
                },
                ProofSpec {
                    leaf_spec: Some(
                        LeafOp {
                            hash: Sha256,
                            prehash_key: NoHash,
                            prehash_value: Sha256,
                            length: VarProto,
                            prefix: [
                                0,
                            ],
                        },
                    ),
                    inner_spec: Some(
                        InnerSpec {
                            child_order: [
                                0,
                                1,
                            ],
                            child_size: 32,
                            min_prefix_length: 1,
                            max_prefix_length: 1,
                            empty_child: [],
                            hash: Sha256,
                        },
                    ),
                    max_depth: 0,
                    min_depth: 0,
                    prehash_key_before_comparison: false,
                },
            ],
        ),
        upgrade_path: [
            "upgrade",
            "upgradedIBCState",
        ],
        allow_update: AllowUpdate {
            after_expiry: true,
            after_misbehaviour: true,
        },
        frozen_height: Some(
            Height {
                revision: 0,
                height: 1,
            },
        ),
    },
)

Opening this issue on both Hermes Heliax fork and Namada repositories since I'm not fully sure which of them fits better to report this bug.

tpknam in memo

SE: how i can include my public key (tpknam) as the –memo for all transactions in hermes memo_prefix = '' ?
Specify a string that Hermes will use as a memo for each transaction it submits to this chain.
The string is limited to 50 characters.
but tpknam is 66 characters.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.