laconicd/x/evm/keeper
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
..
abci.go evm: remove tx logs and block bloom from chain state (#556) 2021-09-15 09:45:03 +00:00
benchmark_test.go rpc: transaction receipt test (#678) 2021-10-20 21:00:17 +02:00
context_stack.go evm: fix panic when transaction is reverted (#650) 2021-10-08 11:29:40 +00:00
grpc_query_test.go rpc: transaction receipt test (#678) 2021-10-20 21:00:17 +02:00
grpc_query.go evm: refactor dup state transition code (#674) 2021-10-22 19:21:03 +02:00
hooks_test.go evm: remove tx logs and block bloom from chain state (#556) 2021-09-15 09:45:03 +00:00
hooks.go all: linter (#532) 2021-09-05 11:03:06 +00:00
keeper_test.go evm: unit tests for gas refund (#686) 2021-10-20 19:09:06 +00:00
keeper.go evm: refactor dup state transition code (#674) 2021-10-22 19:21:03 +02:00
msg_server.go evm, rpc: fix tx log attribute value is not parsable by some client (#615) 2021-10-05 10:26:31 +00:00
params_test.go chore: un-fork from cosmos (#166) 2021-06-22 06:49:18 -04:00
params.go evm: move ChainConfig to Params (#266) 2021-07-14 05:13:55 -04:00
state_transition_benchmark_test.go evm: refactor dup state transition code (#674) 2021-10-22 19:21:03 +02:00
state_transition_test.go evm: refactor dup state transition code (#674) 2021-10-22 19:21:03 +02:00
state_transition.go evm: refactor dup state transition code (#674) 2021-10-22 19:21:03 +02:00
statedb_benchmark_test.go evm: benchmark evm keeper (#586) 2021-09-24 12:58:22 -03:00
statedb_test.go tests: DynamicFeeTx (#649) 2021-10-19 08:49:29 +00:00
statedb.go evm: fix import/export genesis for contract storage (#590) 2021-09-27 12:26:45 +02:00
utils_test.go tests: DynamicFeeTx (#649) 2021-10-19 08:49:29 +00:00
utils.go tests: DynamicFeeTx (#649) 2021-10-19 08:49:29 +00:00