laconicd-deprecated/x/evm
yihuang b74b37f5f0
fix: traceTransaction returns zero gas used (#1179)
* Problem: traceTransaction returns zero gas used

Solution:
- call CaptureTxStart and CaptureTxEnd

* fix trace unit tests

* add overflow check

* add comment

* check gas used is positive

* Update x/evm/keeper/state_transition.go

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2022-07-18 22:16:28 +02:00
..
client all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
keeper fix: traceTransaction returns zero gas used (#1179) 2022-07-18 22:16:28 +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 all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
statedb all: rename go module to evmos/ethermint (#1137) 2022-06-19 11:43:41 +02:00
types imp(deps): Geth upgrade v1.10.19 (#1159) 2022-07-08 10:58:04 +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