laconicd-deprecated/x/evm/keeper
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
..
abci.go evm: refactor statedb implementation (#729) 2022-01-05 08:28:27 +01:00
benchmark_test.go impr(evm): add check msg.Validate check to prevent 0 gas txs (#1174) 2022-07-18 22:21:04 +02:00
grpc_query_test.go fix: traceTransaction returns zero gas used (#1179) 2022-07-18 22:16:28 +02:00
grpc_query.go fix(evm): TxIndex is wrong when trace is the first tx of a block (#1187) 2022-07-20 16:48:50 +02:00
hooks_test.go all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
hooks.go all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
integration_test.go !fix(evm): Fix eth tx hashes in json-rpc responses (#1176) 2022-07-19 15:12:48 +00:00
keeper_test.go impr(evm): add check msg.Validate check to prevent 0 gas txs (#1174) 2022-07-18 22:21:04 +02:00
keeper.go all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
migrations.go imp(deps): Geth upgrade v1.10.19 (#1159) 2022-07-08 10:58:04 +00:00
msg_server.go all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
params_test.go all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
params.go fix(rpc): fix panic on breaking EVM and feemarket params (#1188) 2022-07-19 17:00:43 +02:00
state_transition_benchmark_test.go impr(evm): add check msg.Validate check to prevent 0 gas txs (#1174) 2022-07-18 22:21:04 +02:00
state_transition_test.go evm: cleanup, remove atlas/ (#1152) 2022-06-27 11:58:44 +02:00
state_transition.go fix: traceTransaction returns zero gas used (#1179) 2022-07-18 22:16:28 +02:00
statedb_benchmark_test.go impr(evm): add check msg.Validate check to prevent 0 gas txs (#1174) 2022-07-18 22:21:04 +02:00
statedb_test.go all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
statedb.go all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
utils_test.go all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
utils.go evm: cleanup, remove atlas/ (#1152) 2022-06-27 11:58:44 +02:00