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

Description
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: