laconicd-deprecated/app/ante
yihuang 1fe07edbf9
evm: refactor dup state transition code (#674)
* Problem: state transition code is duplicated

Closes: #672

Solution:
- move gas refund out from ApplyMessage
- move check into ApplyMessage
- move evm construction into ApplyMessage
- ensure context stack is clean after ApplyMessage return

fix unit tests

undo rename

add underflow check

* improve performance

- don't duplicate params loading
- passing EVMConfig around as pointer
2021-10-22 19:21:03 +02:00
..
ante_test.go tests: DynamicFeeTx (#649) 2021-10-19 08:49:29 +00:00
ante.go deps: bump IBC-go (#693) 2021-10-22 15:38:52 +02:00
doc.go ante: switch ethAnteHandler to use AnteDecorators (#252) 2020-04-17 18:32:01 -04:00
eth_test.go all: bump go-ethereum to v1.10.9 (#231) 2021-10-05 15:38:20 +00:00
eth.go evm: refactor dup state transition code (#674) 2021-10-22 19:21:03 +02:00
utils_test.go tests: DynamicFeeTx (#649) 2021-10-19 08:49:29 +00:00