---
# System prepended metadata

title: Hero chain testing
tags: [game-of-chains]

---

---
tags: game-of-chains
---

# Hero chain testing

## 2022-11-17

- Provider chain: [gaiad ics-v0.2.1 branch](https://github.com/cosmos/gaia/tree/glnro/ics-sdk45)
- Consumer chain: [hero](https://github.com/strangelove-ventures/hero) `v0.0.1`
- Genesis file for hero chain
    - Fresh state + uhero denom + relayer account



## 2022-11-16

- Provider chain: [gaiad ics-v0.2.1 fork](https://github.com/smarshall-spitzbart/gaia/tree/glnro/ics-sdk45), commit f729517
- Consumer chain: [hero](https://github.com/strangelove-ventures/hero) `v0.0.1`
- Genesis files: tried both
    - as provided by strangelove team,
        - plus faucet and relayer accounts
        - admin account
        - signed_blocks_window: 8640
    - and as initialized by `herod` plus a relayer account

Creating a connection through Hermes results in the following error:
```
hermes create connection --a-chain hero-1 --a-client 07-tendermint-0 --b-client 07-tendermint-0 
2022-11-17T02:06:52.825972Z  INFO ThreadId(01) using default configuration from '/home/hermes/.hermes/config.toml'
2022-11-17T02:06:52.927312Z  INFO ThreadId(01) Creating a new connection with pre-existing clients 07-tendermint-0 and 07-tendermint-0
2022-11-17T02:06:56.880558Z  INFO ThreadId(01) 🥂 hero-1 => OpenInitConnection(OpenInit { Attributes { connection_id: connection-0, client_id: 07-tendermint-0, counterparty_connection_id: None, counterparty_client_id: 07-tendermint-0 } }) at height 1-211
2022-11-17T02:07:07.088810Z ERROR ThreadId(17) send_messages_and_wait_commit{chain=provider tracking_id=ConnectionOpenTry}:send_tx_with_account_sequence_retry{chain=provider account.sequence=3}:estimate_gas: failed to simulate tx. propagating error to caller: gRPC call failed with status: status: Unknown, message: "failed to execute message; message index: 0: cannot update client with ID 07-tendermint-0: header height revision 1 does not match trusted header revision 0: invalid header height", details: [], metadata: MetadataMap { headers: {"content-type": "application/grpc", "x-cosmos-block-height": "287"} }
2022-11-17T02:07:07.089243Z ERROR ThreadId(17) send_messages_and_wait_commit{chain=provider tracking_id=ConnectionOpenTry}:send_tx_with_account_sequence_retry{chain=provider account.sequence=3}: gas estimation failed or encountered another unrecoverable error error=gRPC call failed with status: status: Unknown, message: "failed to execute message; message index: 0: cannot update client with ID 07-tendermint-0: header height revision 1 does not match trusted header revision 0: invalid header height", details: [], metadata: MetadataMap { headers: {"content-type": "application/grpc", "x-cosmos-block-height": "287"} }
2022-11-17T02:07:07.089451Z ERROR ThreadId(01) failed ConnOpenTry ConnectionSide { chain: BaseChainHandle { chain_id: provider }, client_id: 07-tendermint-0, connection_id: None }: failed during a transaction submission step to chain 'provider': gRPC call failed with status: status: Unknown, message: "failed to execute message; message index: 0: cannot update client with ID 07-tendermint-0: header height revision 1 does not match trusted header revision 0: invalid header height", details: [], metadata: MetadataMap { headers: {"content-type": "application/grpc", "x-cosmos-block-height": "287"} }
2022-11-17T02:07:17.119591Z ERROR ThreadId(17) send_messages_and_wait_commit{chain=provider tracking_id=ConnectionOpenTry}:send_tx_with_account_sequence_retry{chain=provider account.sequence=3}:estimate_gas: failed to simulate tx. propagating error to caller: gRPC call failed with status: status: Unknown, message: "failed to execute message; message index: 0: cannot update client with ID 07-tendermint-0: header height revision 1 does not match trusted header revision 0: invalid header height", details: [], metadata: MetadataMap { headers: {"content-type": "application/grpc", "x-cosmos-block-height": "289"} }
2022-11-17T02:07:17.119769Z ERROR ThreadId(17) send_messages_and_wait_commit{chain=provider tracking_id=ConnectionOpenTry}:send_tx_with_account_sequence_retry{chain=provider account.sequence=3}: gas estimation failed or encountered another unrecoverable error error=gRPC call failed with status: status: Unknown, message: "failed to execute message; message index: 0: cannot update client with ID 07-tendermint-0: header height revision 1 does not match trusted header revision 0: invalid header height", details: [], metadata: MetadataMap { headers: {"content-type": "application/grpc", "x-cosmos-block-height": "289"} }
2022-11-17T02:07:17.119894Z ERROR ThreadId(01) failed ConnOpenTry ConnectionSide { chain: BaseChainHandle { chain_id: provider }, client_id: 07-tendermint-0, connection_id: None }: failed during a transaction submission step to chain 'provider': gRPC call failed with status: status: Unknown, message: "failed to execute message; message index: 0: cannot update client with ID 07-tendermint-0: header height revision 1 does not match trusted header revision 0: invalid header height", details: [], metadata: MetadataMap { headers: {"content-type": "application/grpc", "x-cosmos-block-height": "289"} }

```