Skip to content

hermes account prefix configuration does not set for chain-b #231

@ammar-elsabe

Description

@ammar-elsabe

App: Hermes

Describe the bug
Not sure if im doing it incorrectly, but when trying to specify distinct bech32 hrps for each chain:

ignite relayer hermes configure \
    "rivchain-1" "http://localhost:26657" "http://localhost:9090" \
    "noble-1" "http://localhost:26659" "http://localhost:9092" \
    --chain-a-faucet "http://0.0.0.0:4500" --chain-b-faucet "http://0.0.0.0:4501" \
    --chain-a-account-prefix "riv" --chain-b-account-prefix "noble" \
    --chain-a-gas-price 0.025uriv --chain-b-gas-price 0.025uusdc \
    --chain-a-port-id "transfer" --chain-b-port-id "transfer" \
    --channel-version "ics20-1"

it tries to use chain-a-account-prefix for both

Hermes config created at /home/ammarelsabe/.ignite/relayer/hermes/rivchain-1_noble-1
Chain rivchain-1 relayer wallet: riv17ps2vp3722lnapgj5ej8434eq254p9arvudvkz
New balance from faucet: 999999999stake,999999999token,999999999uriv
Chain noble-1 relayer wallet: riv1wlefyux0fx9snztdcrp7regvh3dskv3hvqa7nh

   ERROR

  Rpc error: code = InvalidArgument desc = rpc error: code = InvalidArgument desc = invalid address: hrp does not
  match bech32 prefix: expected 'noble' got 'riv': internal logic error: invalid request.

✘ Rpc error: code = InvalidArgument desc = invalid address: hrp does not match bech32 prefix: expected 'noble' got 'riv': internal logic error: invalid request

What version are you using?
latest

Provide the output of the ignite version command.

Ignite CLI version:             v29.4.0-dev
Ignite CLI build date:          2025-09-16T16:44:21Z
Ignite CLI source hash:         832b8bfc6b98fc1e74c95a9dcd81ec2e6bcd70ce
Ignite CLI config version:      v1
Cosmos SDK version:             v0.53.3
Buf.build version:              1.54.0
Your OS:                        linux
Your arch:                      amd64
Your go version:                go version go1.25.1 linux/amd64
Your uname -a:                  Linux ammarelsabe 6.15.7-200.fc42.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 17 17:57:16 UTC 2025 x86_64 GNU/Linux
Your cwd:                       /home/ammarelsabe/rivchain

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    To Discuss

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions