Skip to content

Conversation

@serikssonn
Copy link
Contributor

This PR adds missing standard derives (Hash, Eq, Copy, Default) to core data structures, including AccountId32,RuntimeVersion, and various transaction extensions.

Key Benefits:

  • Collection Support: Types like AccountId andRuntimeVersion can now be used as keys in HashMap and `HashSet.
  • Ergonomics: Adds Copy to small POD types (e.g., AccountId32), reducing the need for explicit .clone() calls.

@serikssonn serikssonn requested a review from a team as a code owner December 3, 2025 14:22
@jsdw
Copy link
Collaborator

jsdw commented Dec 3, 2025

Thank you! However, quite a big refactoring of the Subxt codebase is currently underway and so I think it would be best to hold off on this sort of PR until we are into the new year and have something more concrete there to build on :)

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.

2 participants