imp: migrate JSON for feemarket (#1021)

* imp: migrate JSON for feemarket

* migrate JSON

* types

* fix

* fix unmarshal JSON error

* changelog

* fix lint

* fix test
This commit is contained in:
Federico Kunze Küllmer
2022-03-30 19:10:54 +02:00
committed by GitHub
parent 285c7c47d7
commit 3c8a95b012
11 changed files with 1029 additions and 26 deletions
+2 -1
View File
@@ -35,7 +35,8 @@ func (e *EVMBackend) processBlock(
ethBlock *map[string]interface{},
rewardPercentiles []float64,
tendermintBlockResult *tmrpctypes.ResultBlockResults,
targetOneFeeHistory *rpctypes.OneFeeHistory) error {
targetOneFeeHistory *rpctypes.OneFeeHistory,
) error {
blockHeight := tendermintBlock.Block.Height
blockBaseFee, err := e.BaseFee(blockHeight)
if err != nil {