laconicd-deprecated/x/evm
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
..
atlas docs: banner & other (#607) 2021-09-29 18:15:55 +02:00
client rpc: geth v1.10.9 changes (#624) 2021-10-06 11:22:32 +00:00
keeper evm: refactor dup state transition code (#674) 2021-10-22 19:21:03 +02:00
simulation evm: fixed commented out simulations, pubsub, and handler tests (#655) 2021-10-11 13:09:53 +02:00
spec docs: first update (#188) 2021-08-03 17:35:31 +00:00
types evm: refactor dup state transition code (#674) 2021-10-22 19:21:03 +02:00
genesis_test.go all: bump SDK to v0.43.0-rc0 (#194) 2021-06-29 13:02:21 -04:00
genesis.go evm: remove tx logs and block bloom from chain state (#556) 2021-09-15 09:45:03 +00:00
handler_test.go tests: DynamicFeeTx (#649) 2021-10-19 08:49:29 +00:00
handler.go evm: rm recover (#542) 2021-09-09 09:10:33 +00:00
module.go evm: fixed commented out simulations, pubsub, and handler tests (#655) 2021-10-11 13:09:53 +02:00