laconicd-deprecated/x/evm
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
..
atlas docs: banner & other (#607) 2021-09-29 18:15:55 +02:00
client feat: add raw ethereum tx CLI (#712) 2021-11-02 12:20:19 +01:00
keeper fix: consistent BaseFee check logic (#855) 2021-12-28 07:59:28 +00:00
simulation evm: fixed commented out simulations, pubsub, and handler tests (#655) 2021-10-11 13:09:53 +02:00
spec docs(evm): Clean up remaining intrarelayer text on docs (#846) 2021-12-16 23:41:25 +01:00
types fix: consistent BaseFee check logic (#855) 2021-12-28 07:59:28 +00:00
genesis_test.go all: bump SDK to v0.43.0-rc0 (#194) 2021-06-29 13:02:21 -04:00
genesis.go evm: remove tx logs and block bloom from chain state (#556) 2021-09-15 09:45:03 +00:00
handler_test.go fix: consistent BaseFee check logic (#855) 2021-12-28 07:59:28 +00:00
handler.go evm: rm recover (#542) 2021-09-09 09:10:33 +00:00
module.go feat: store migration setup (#794) 2021-11-29 16:46:20 +01:00