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 (6) #261

Open
taitruong opened this issue Dec 12, 2022 · 1 comment
Open

error: Query failed with (6) #261

taitruong opened this issue Dec 12, 2022 · 1 comment

Comments

@taitruong
Copy link

taitruong commented Dec 12, 2022

Hi, trying to setup relayer for testnets between osmosis and juno.

When calling ibc-setup ics20 -v, I get this error:

error: Query failed with (6): rpc error: code = Unknown desc = header failed basic validation: commit signs block A74BBBBFE5BE665859CE4179D7A317DF9B31294001BFC6C49FEF7CF3464497DD, header is block 41BC871ED066CF8D423F0DDE0C33ABF9705CF1BA19B90A7DF7DFB66123068210 [cosmos/ibc-go/v3@v3.3.0/modules/light-clients/07-tendermint/types/header.go:62] With gas wanted: '0' and gas used: '13368' : unknown request

I added these to registry.yaml:

chains:
  osmosis-testnet:
    chain_id: osmo-test-4
    prefix: osmo
    gas_price: 1uosmo
    hd_path: m/44'/118'/0'/0/0
    ics20_port: 'transfer'
    estimated_block_time: 7000
    estimated_indexer_time: 250
    rpc:
      - https://osmosistest-rpc.quickapi.com:443
  juno-testnet:
    chain_id: uni-5
    prefix: juno
    gas_price: 0.025ujunox
    hd_path: m/44'/118'/0'/0/0
    ics20_port: 'transfer'
    estimated_block_time: 7000
    estimated_indexer_time: 250
    # request in juno faucet channel https://discord.gg/TfsuB6yd
    # faucet: https://faucet.uni.juno.deuslabs.fi
    rpc:
      - https://rpc.uni.junonetwork.io:443

app.yaml:

src: osmosis-testnet
dest: juno-testnet
mnemonic: <...>
´´´
@taitruong
Copy link
Author

So it seems like it requires some gas, and in both wallets I have balances:

$ osmosisd query bank balances osmo1edsntxsvjqjrfrrruncqjmzsr5zpkdxgwsxmqz
{"balances":[{"denom":"uosmo","amount":"99611920"}],"pagination":{"next_key":null,"total":"0"}}

$ junod query bank balances juno1edsntxsvjqjrfrrruncqjmzsr5zpkdxgseks3v
balances:
- amount: "9984323"
  denom: ujunox
pagination:
  next_key: null
  total: "0"

Is there a way to pass gas-price and gas-adjustment?

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

1 participant