Skip to content

feat: add BlockNumber::MAX#2324

Merged
SantiagoPittella merged 1 commit intonextfrom
santiagopittella-block-num-max
Jan 21, 2026
Merged

feat: add BlockNumber::MAX#2324
SantiagoPittella merged 1 commit intonextfrom
santiagopittella-block-num-max

Conversation

@SantiagoPittella
Copy link
Collaborator

In the node I found myself doing BlockNumber::from(u32::MAX) a couple times.

@SantiagoPittella SantiagoPittella force-pushed the santiagopittella-block-num-max branch from d9fee04 to 33289e5 Compare January 21, 2026 14:44
Copy link
Collaborator

@mmagician mmagician left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@PhilippGackstatter PhilippGackstatter left a comment

Choose a reason for hiding this comment

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

Looks good to me!

If you need it in 0.13.x, then the target branch could be changed to main - up to you.

@SantiagoPittella
Copy link
Collaborator Author

I prefer to address this changes as part of 0.14, thanks!

@SantiagoPittella SantiagoPittella merged commit d986c19 into next Jan 21, 2026
17 checks passed
@SantiagoPittella SantiagoPittella deleted the santiagopittella-block-num-max branch January 21, 2026 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants