loomchain icon indicating copy to clipboard operation
loomchain copied to clipboard

Deprecate TxHashList in EvmAuxStore

Open pathornteng opened this issue 5 years ago • 0 comments

Currently, the TxHashList in receipts_db is not correct, since we have implemented child-tx-refs which maps Tendermint Tx Hash to EVM Tx Hash. The problem is that GetBlockByNumber returns TM Tx Hashes for txs to Go contracts that call Solidity contracts but the Tx Hash saved in TxHashList is EVM Tx Hash. Now, we can get accurate TxHashList for a particular block from BlockStore only.

Ref: https://github.com/loomnetwork/loomchain/commit/58da7562d570a60a605251353b6512afb93c00bc

pathornteng avatar Oct 03 '19 04:10 pathornteng