Skip to content

Conversation

@JonathanOppenheimer
Copy link
Member

Why this should be merged

This is a follow up to PR #4741. While working on that PR, the pointers to acp226.DelayExcess were sort of ugly because they were never explicitly typed. This PR cleans that up by typing them.

How this was tested

CI

Need to be documented in RELEASES.md?

No

@JonathanOppenheimer JonathanOppenheimer self-assigned this Jan 9, 2026
@JonathanOppenheimer JonathanOppenheimer requested review from a team as code owners January 9, 2026 18:44
@JonathanOppenheimer JonathanOppenheimer added the cleanup Code quality improvement label Jan 9, 2026
Comment on lines +26 to +28
InitialDelayExcess DelayExcess = 7_970_124

maxDelayExcess = 46_516_320 // ConversionRate * ln(MaxUint64 / MinDelayMilliseconds) + 1
maxDelayExcess DelayExcess = 46_516_320 // ConversionRate * ln(MaxUint64 / MinDelayMilliseconds) + 1
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here are the important changes.

Base automatically changed from JonathanOppenheimer/cleanup-ptr-to to master January 14, 2026 18:13
@maru-ava maru-ava enabled auto-merge January 14, 2026 20:33
@maru-ava maru-ava added this pull request to the merge queue Jan 14, 2026
Merged via the queue into master with commit 48924d3 Jan 14, 2026
53 checks passed
@maru-ava maru-ava deleted the JonathanOppenheimer/delay-excess-retype branch January 14, 2026 21:00
@github-project-automation github-project-automation bot moved this to Done 🎉 in avalanchego Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup Code quality improvement

Projects

Status: Done 🎉

Development

Successfully merging this pull request may close these issues.

5 participants