laconicd/app/ante
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
..
ante_test.go fix: use EffectiveGasPrice in ante handler for dynamic fee tx (#817) 2021-12-15 02:17:03 +00:00
ante.go fix: use EffectiveGasPrice in ante handler for dynamic fee tx (#817) 2021-12-15 02:17:03 +00:00
doc.go ante: switch ethAnteHandler to use AnteDecorators (#252) 2020-04-17 18:32:01 -04:00
eth_test.go ante: remove unused AccessListDecorator (#797) 2021-11-30 09:06:34 +01:00
eth.go fix: use EffectiveGasPrice in ante handler for dynamic fee tx (#817) 2021-12-15 02:17:03 +00:00
sigs_test.go fix: tx fields are not authenticated by signature (#703) 2021-11-08 14:00:35 +01:00
utils_test.go tests: DynamicFeeTx (#649) 2021-10-19 08:49:29 +00:00