laconicd/app
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
..
ante fix: consistent BaseFee check logic (#855) 2021-12-28 07:59:28 +00:00
app_test.go feat: update chain-id format (#447) 2021-08-17 14:11:26 +00:00
app.go feemarket: update base fee in BeginBlock (#822) 2021-12-15 02:10:52 +00:00
benchmark_test.go all: add benchmarks to core components (#493) 2021-08-26 08:20:27 +00:00
export.go fix: gosec issues (#779) 2021-11-25 15:12:57 +00:00
simulation_test.go deps: bump IBC-go (#693) 2021-10-22 15:38:52 +02:00
test_helpers.go fix: consistent BaseFee check logic (#855) 2021-12-28 07:59:28 +00:00