laconicd-deprecated/x/evm/keeper
yihuang ccc6f5b53d
fix: use EffectiveGasPrice in ante handler for dynamic fee tx (#817)
* Use effectiveGasPrice in ante handler for dynamic fee tx

Closes: #814

Solution:
- use effectiveGasPrice when check minimal-gas-prices, and deduct fee in ante handler
- implement an EthMempoolFeeDecorator

* add effectiveGasPrice to tx receipt

* changelog

* fix unit test

* fix comments

* add comments

* Apply suggestions from code review

Co-authored-by: Thomas Nguy <81727899+thomas-nguy@users.noreply.github.com>

* review suggestions

Co-authored-by: Thomas Nguy <81727899+thomas-nguy@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2021-12-15 02:17:03 +00: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 tests: add message call benchmark (#717) 2021-11-08 13:04:49 +00:00
context_stack.go evm: fix panic when transaction is reverted (#650) 2021-10-08 11:29:40 +00:00
grpc_query_test.go evm: clear access list for each transaction (#802) 2021-11-30 12:36:10 +01:00
grpc_query.go fix: improve error message in SendTransaction json-rpc api (#786) 2021-11-26 15:19:28 +01: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 rpc: eth_feeHistory (#734) 2021-11-17 11:58:52 +00:00
keeper.go evm: ForEachStorage semantic not compatible with go-ethereum (#798) 2021-11-30 10:34:33 +00:00
migrations.go feat: store migration setup (#794) 2021-11-29 16:46:20 +01:00
msg_server.go x/evm/keeper: use the fastest slice making idiom for Keeper.EthereumTx.Logs (#827) 2021-12-14 00:05:12 +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 rpc: eth_feeHistory (#734) 2021-11-17 11:58:52 +00:00
state_transition.go evm: clear access list for each transaction (#802) 2021-11-30 12:36:10 +01:00
statedb_benchmark_test.go evm: benchmark evm keeper (#586) 2021-09-24 12:58:22 -03:00
statedb_test.go fix: empty log topics shouldn't be encoded as nil (#840) 2021-12-14 15:52:22 +01:00
statedb.go evm: clear access list for each transaction (#802) 2021-11-30 12:36:10 +01:00
utils_test.go fix: use EffectiveGasPrice in ante handler for dynamic fee tx (#817) 2021-12-15 02:17:03 +00:00
utils.go fix: use EffectiveGasPrice in ante handler for dynamic fee tx (#817) 2021-12-15 02:17:03 +00:00