Skip to content

Commit

Permalink
reduce diff
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph committed Feb 27, 2025
1 parent e56fa1a commit f6bf0db
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugin/evm/header/extra.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,9 @@ func VerifyExtra(rules params.AvalancheRules, extra []byte) error {
// extra data. If the extra data is not long enough, an empty slice is returned.
func PredicateBytesFromExtra(_ params.AvalancheRules, extra []byte) []byte {
// Prior to Durango, the VM enforces the extra data is smaller than or equal
// to `offset`.
// After Durango, the VM pre-verifies the extra data past `offset` is valid.
// to this size.
// After Durango, the VM pre-verifies the extra data past the dynamic fee
// rollup window is valid.
if len(extra) <= FeeWindowSize {
return nil
}
Expand Down

0 comments on commit f6bf0db

Please sign in to comment.