Hash Discrepancy: Why Are They Different?

The EVM and Cosmos transaction hashes represent the same transaction but differ due to distinct data structures:

  1. EVM Transaction Hash

    • Focuses solely on the original Ethereum-formatted transaction data.

    • Reflects the transaction’s structure and content as processed by the EVM layer.

  2. Cosmos Transaction Hash

    • Includes the EVM transaction as part of a broader Cosmos message structure.

    • May incorporate additional metadata such as gas settings and Tendermint-specific elements.

As a result, the hashing inputs vary, leading to different hash outputs for the same underlying transaction.

Last updated