Skip to content
This repository was archived by the owner on Apr 4, 2024. It is now read-only.
This repository was archived by the owner on Apr 4, 2024. It is now read-only.

Store tx hash index separately to get rid of full tendermint tx indexes #1075

@yihuang

Description

@yihuang

Proposal: Store tx hash index separately to get rid of full tendermint tx indexes

Current behavior:

rely on full nodes to turn on tendermint tx indexer, cost extra storage space, and slow down consensus state machine.

Desired behavior:

  • Use a standalone kv db to store eth tx hash -> cosmos tx hash.
  • The eth tx hash index will include all the eth msgs in the block, no matter the execution result.
  • Support the unlucky tx that exceeds block gas limit into the json-rpc apis, since user fee is deducted in this case, it should leave a trace in json-rpc responses.

Use case:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions