Skip to content

Conversation

@reallesee
Copy link
Contributor

Replaced todo!() with unimplemented!() for unit structs and unions in the Compact derive macro.

These aren't planned features - they're design limitations. Unit structs have no fields to serialize, and unions can't be safely handled by derive macros. Better semantics and clearer error messages for users who try to derive Compact on unsupported types.

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

fine, this message is better and makes it easier to identify where the panic is coming from

@github-project-automation github-project-automation bot moved this from Backlog to In Progress in Reth Tracker Oct 31, 2025
@mattsse mattsse added this pull request to the merge queue Oct 31, 2025
@mattsse mattsse added the C-debt A clean up/refactor of existing code label Oct 31, 2025
Merged via the queue into paradigmxyz:main with commit 1c5c709 Oct 31, 2025
41 of 42 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Reth Tracker Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-debt A clean up/refactor of existing code

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants