Skip to content

Commit

Permalink
Suppress linting warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan-Ethernal committed Feb 15, 2024
1 parent 9d72911 commit 91f44a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion state/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ func (t *Transition) apply(msg *types.Transaction) (*runtime.ExecutionResult, er
coinbaseFee := new(big.Int).Mul(new(big.Int).SetUint64(result.GasUsed), effectiveTip)
t.state.AddBalance(t.ctx.Coinbase, coinbaseFee)

// nolint:godox
//nolint:godox
// TODO - burning of base fee should not be done in the EVM
// Burn some amount if the london hardfork is applied.
// Basically, burn amount is just transferred to the current burn contract.
Expand Down Expand Up @@ -1341,6 +1341,7 @@ func (t *Transition) RevertToSnapshot(snapshot int) error {
})

if idx == len(t.journalRevisions) || t.journalRevisions[idx].ID != snapshot {
//nolint:gocritic
panic(fmt.Errorf("journal revision id %v cannot be reverted", snapshot))
}

Expand Down

0 comments on commit 91f44a2

Please sign in to comment.