Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove size stuff
  • Loading branch information
ceyonur committed Sep 17, 2025
commit dec3615ee178d2bef66c270752fdf951d0b5f971
6 changes: 0 additions & 6 deletions vms/evm/acp226/acp226.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@
package acp226

import (
"errors"
"sort"

"github.com/ava-labs/avalanchego/utils/wrappers"
"github.com/ava-labs/avalanchego/vms/components/gas"

safemath "github.com/ava-labs/avalanchego/utils/math"
Expand All @@ -23,13 +21,9 @@ const (
// MaxDelayExcessDiff (Q) is the maximum change in excess per update
MaxDelayExcessDiff = 200

DelayExcessBytesSize = wrappers.LongLen

maxDelayExcess = 46_516_320 // ConversionRate * ln(MaxUint64 / MinDelayMilliseconds) + 1
)

var ErrDelayExcessInsufficientLength = errors.New("insufficient length for block delay state")

// DelayExcess represents the excess for delay calculation in the dynamic minimum block delay mechanism.
type DelayExcess uint64

Expand Down
Loading