-
Notifications
You must be signed in to change notification settings - Fork 314
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
Hermes ignores some ICS-20 packets for some reason (on osmosis, CW contract creates packet as called back by incoming Wasm hook) #3633
Comments
here is video of same contracts working well on mainnet https://youtu.be/kxLkKzYW2xw with hermes. UP: fixing low res video so sure things work, but hermese for some reason reports no warnings or errors locally. |
Thanks for the detailed report! 🙏 Which event source are you using, Could you also please post your |
i use this config
|
As I see I already use pull, so it works without explicit url config. I think issue may be some config of trusting period/validators rotations timeouts, so not errors in logs about this. Alternatively I think to restart hermes several times - if it will catch up after restart, did not tried. |
Summary of Bug
I run Hermes amid Centauri and Osmosis.
It successfully relays from Centauri to Osmosis all the time.
But from Osmosis to Centauri it has some troubles.
Not not always the case, but more often packets are not relayed when ICS-20 packet has memo and was created as part of CW transaction on Osmosis.
With ICS-20 transfer via Csmosis cli, sometimes packets stuck, but not so often.
I checked that logs has ibc transfer and escrow locks funds, so I am sure(as sure I can be) on chain code is correct.
I set logs to trace, do not see any errors. Also have set bigger TX limits too.
Version
I use
cosmos.nix
to run all nodes.Steps to Reproduce
Setup nix with
flakes
andnix-command
enabled. https://docs.composable.finance/nix/install/Run
nix run .#devnet-xc-cosmos-fresh
and wait when hermes relayer running along with centauri and osmosis chains
Than run
nix run .#xc-swap-pica-to-osmo
- it will send in loop CW execute:Expected: Packet reaches Centauri
Actual: Packet never reaches Centauri
I attached logs of nodes nodes and relayer.
What I have checked?
All logs are set to debug and/or trace.
logs.zip
Also I send some funds from osmosis
osmosisd tx ibc-transfer transfer "transfer" "channel-0" "centauri1qvdeu4x34rapp3wc8fym5g4wu343mswxxgc6wf" 12345678uosmo --from=1 --fees=100000uosmo -y
and packets sometimes delivered. But when I send packet with memo, it is like stuck.Versions
Acceptance Criteria
More debugging on reasons of possible packet ignorance or transaction failures in hermes.
For Admin Use
The text was updated successfully, but these errors were encountered: