Skip to content
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

error: Query failed with (18): header failed basic validation #221

Open
berelton opened this issue Jan 31, 2022 · 10 comments
Open

error: Query failed with (18): header failed basic validation #221

berelton opened this issue Jan 31, 2022 · 10 comments

Comments

@berelton
Copy link

Hello, getting the following error:

root@wasm:~# ibc-setup ics20 -v
verbose: Queried unbonding period {"seconds":1814400}
verbose: Create Tendermint client
verbose: Queried unbonding period {"seconds":1209600}
verbose: Create Tendermint client
info: Connection open init: 07-tendermint-11 => 07-tendermint-1774
verbose: Get latest commit
verbose: Get validator set for height 194110
verbose: Get header for height 194110
verbose: Get validator set for height 194104
verbose: Get header for height 194104
verbose: Update Tendermint client 07-tendermint-1774
info: Connection open try: 07-tendermint-1774 => 07-tendermint-11 (connection-9)
verbose: Get latest commit
verbose: Get validator set for height 3018512
verbose: Get header for height 3018512
verbose: Get validator set for height 3018502
verbose: Get header for height 3018502
verbose: Update Tendermint client 07-tendermint-11
error: Query failed with (18): header failed basic validation: commit signs block 8AA621F24A6B226C9ECFC153881B5E49124ACF167697AFA27225732A0A1DFC5B, header is block 2F3EC32F5CFA04A5C094A7561A73759B28B17B387D353437604A6F3AF7291002: invalid request

What can be the issue?

@ethanfrey
Copy link
Contributor

I cannot help without more info.

Can you please tell me which two chains you are connecting. And if you can reproduce this everytime you send.

I need ~/.ibc-setup/registry.yaml and ~/.ibc-setup/app.yaml (the later please remove the mnemonic). That could give me a test case at least.

Some chains have forked the cosmos-sdk which may cause issues. This has been tested against cosmos sdk 0.42 in simapp and wasmd and cosmos sdk 0.44 in naiad

@berelton
Copy link
Author

@ethanfrey thanks for the response.

app.yaml:

src: deweb
dest: osmosis
mnemonic: <few words>

registry.yaml:

version: 1

chains:
  deweb:
    chain_id: deweb-testnet-0
    prefix: deweb
    gas_price: 0.1udws
    hd_path: m/44'/118'/0'/0/0
    ics20_port: 'transfer'
    rpc:
      - https://rpc-deweb.deweb.services:443
  osmosis:
    chain_id: osmosis-1
    prefix: osmo
    gas_price: 0uosmo
    hd_path: m/44'/118'/0'/0/0
    ics20_port: 'transfer'
    rpc:
      - https://rpc-osmosis.blockapsis.com:443

@ethanfrey
Copy link
Contributor

Thank you for the details.

I have never seen deweb before. Can you link me to the repo and version used here, so I can see what cosmos-sdk is used and maybe reproduce in a CI

@berelton
Copy link
Author

@ethanfrey it is using Cosmos SDK v.0.44.3 and Tendermint v.0.34.14
https://github.com/deweb-services/deweb

@ethanfrey
Copy link
Contributor

Thank you.
I had some issues trying to relayer between Juno and Osmosis, also missing proofs ("ensure the height was not pruned")... I am not sure if https://rpc-osmosis.blockapsis.com:443 serves all the needed proofs - I think it is mainly for high volume of queries of balances and pools.

@ jackzampolin can you share the rpc endpoints your team used to set up the Juno-Osmosis channel. I want to verify we are using "relayer-friendly" endpoints before debugging more

@jackzampolin
Copy link

@berelton
Copy link
Author

berelton commented Feb 4, 2022

@ethanfrey what I can do with this issue?

@ethanfrey
Copy link
Contributor

I have seen professional relayers have all kinds of issues with the juno osmo bridge using Hermes and go relayer

This project is maintained but mainly focused on testnet / ci testing. Not supported for production use.

I try to fix any clear issue that is solved by the other relayers, but this seems to be some issue with the chains.

I would switch to another relayer and as some professional relayers for help.

@angrymouse
Copy link

Any updates? I have similar issue with juno and osmosis

@ethanfrey
Copy link
Contributor

I think this only would make sense one I run osmosis and Juno nodes in the CI, and not try to debug on production.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants