Skip to content

Conversation

@MoNyAvA
Copy link
Contributor

@MoNyAvA MoNyAvA commented Jan 30, 2026

Domain was performing a length check on a slice derived from common.Bytes4 ([4]byte), so len(forkVersion) was always 4 and the error branch was unreachable. This added noise without providing any real safety
Simplified Domain to work directly with the fixed-size [4]byte fork versions (PreviousVersion / CurrentVersion) and removed the unreachable length check, keeping the external behavior and error handling otherwise unchanged

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.

1 participant