node
node copied to clipboard
Chain ID mismatch in EIP712 ante handler prevents Ledger use for Cosmos operations
Users are currently unable to perform Cosmos send, staking, and other operations with Ledger.
The root cause appears to be a mismatch in the EIP712 ante handler:
- The chain ID is set as
zetachain_7000-1 - The expected value is just
7000
This mismatch causes errors such as:
failed to parse chain-id: zetachain_7000-1: strconv.ParseUint: parsing "zetachain_7000-1": invalid syntax [zeta-chain/[email protected]/ante/cosmos/eip712.go:195]
Since the incorrect chain ID is on-chain, this cannot be resolved externally.
References:
https://github.com/zeta-chain/evm/blob/82cf029c0ddc6a89a5cce64c464e04312325a294/ante/cosmos/eip712.go#L129 https://github.com/zeta-chain/evm/blob/82cf029c0ddc6a89a5cce64c464e04312325a294/ante/cosmos/eip712.go#L136 https://github.com/zeta-chain/evm/blob/82cf029c0ddc6a89a5cce64c464e04312325a294/ante/cosmos/eip712.go#L193
Does it block using Ledger as well through the CLI?