Skip to content

Commit

Permalink
Update epoch_check.go
Browse files Browse the repository at this point in the history
gas control removed
  • Loading branch information
jacklevin74 authored Jan 29, 2024
1 parent de96c65 commit 33fa953
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eventcheck/epochcheck/epoch_check.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ func CalcGasPowerUsed(e inter.EventPayloadI, rules opera.Rules) uint64 {
}

func (v *Checker) checkGas(e inter.EventPayloadI, rules opera.Rules) error {
// do not check gas
return nil
if e.GasPowerUsed() > rules.Economy.Gas.MaxEventGas {
return ErrTooBigGasUsed
}
Expand Down

0 comments on commit 33fa953

Please sign in to comment.