laconicd/x/feemarket/keeper
yihuang eb17366dcc
fix: consistent BaseFee check logic (#855)
Closes: #755

```
if not london_hardfork {
    # reject DynamicFeeTx
    # no `baseFeePerGas` field in block response
    # baseFee = nil
} else {
    # allow DynamicFeeTx
    # add `baseFeePerGas` field in block response
    if feemarketParams.NoBaseFee or height < feemarketParams.EnableHeight {
        # baseFee = 0
    } else {
        # init baseFee to initBaseFee and adjust in later blocks
    }
}
```

Update x/evm/keeper/keeper.go

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

add unit tests

Update app/ante/utils_test.go

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

changelog
2021-12-28 07:59:28 +00:00
..
abci_test.go feemarket: unit tests EIP1559 (#758) 2021-11-19 16:22:25 +00:00
abci.go feemarket: update base fee in BeginBlock (#822) 2021-12-15 02:10:52 +00:00
eip1559_test.go feemarket: unit tests EIP1559 (#758) 2021-11-19 16:22:25 +00:00
eip1559.go feemarket: update base fee in BeginBlock (#822) 2021-12-15 02:10:52 +00:00
grpc_query_test.go feemarket: unit tests EIP1559 (#758) 2021-11-19 16:22:25 +00:00
grpc_query.go rpc: geth v1.10.9 changes (#624) 2021-10-06 11:22:32 +00:00
keeper_test.go feemarket: unit tests EIP1559 (#758) 2021-11-19 16:22:25 +00:00
keeper.go fix: consistent BaseFee check logic (#855) 2021-12-28 07:59:28 +00:00
migrations.go feat: store migration setup (#794) 2021-11-29 16:46:20 +01:00
params_test.go feemarket: unit tests EIP1559 (#758) 2021-11-19 16:22:25 +00:00
params.go feat: fee market module (#491) 2021-08-26 10:08:11 +00:00