Mapping and Storage

To maintain cross-ecosystem compatibility and traceability, the network implements the following mechanisms:

  1. Encapsulation

    • The original EVM transaction is encapsulated within a MsgEthereumTx message in the Cosmos SDK.

    • This allows the Cosmos network to process the transaction while preserving its EVM-specific attributes.

  2. Indexing

    • Nodes store both the EVM transaction hash and the Cosmos transaction hash.

    • These hashes are linked via an indexing mechanism to enable seamless querying and retrieval:

      • Users querying by EVM hash can retrieve the corresponding Cosmos transaction and vice versa.

Last updated