laconicd-deprecated/x/evm
Victor Pham cd41c48075
fix(evm): TxIndex is wrong when trace is the first tx of a block (#1187)
* Fix TxIndex wrongly when trace first Tx of a block

If `Predecessors` is empty, `txConfig.TxIndex` originally = 0 and when it reachs line 401 `txConfig.TxIndex++`, it will becomes 1. It should be 0

* apply suggestion and add change-log

* fix comment

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2022-07-20 16:48:50 +02:00
..
client all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
keeper fix(evm): TxIndex is wrong when trace is the first tx of a block (#1187) 2022-07-20 16:48:50 +02:00
migrations imp(deps): Geth upgrade v1.10.19 (#1159) 2022-07-08 10:58:04 +00:00
simulation all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
spec !fix(evm): Fix eth tx hashes in json-rpc responses (#1176) 2022-07-19 15:12:48 +00:00
statedb all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
types !fix(evm): Fix eth tx hashes in json-rpc responses (#1176) 2022-07-19 15:12:48 +00:00
genesis_test.go all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
genesis.go all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
handler_test.go imp(all): setup a validator in the test genesis (#1171) 2022-07-11 14:42:59 +02:00
handler.go all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
module.go imp(deps): Geth upgrade v1.10.19 (#1159) 2022-07-08 10:58:04 +00:00