Skip to content

Conversation

@puhtaytow
Copy link
Contributor

@puhtaytow puhtaytow commented Nov 29, 2025

Description

This PR enables StableAbi, functionality for frozen-abi types in entire crate.

Summary of changes

All frozen-abi types got enabled StableAbi.

@puhtaytow puhtaytow marked this pull request as draft November 29, 2025 16:39
@puhtaytow puhtaytow force-pushed the enable-stableabi-vote-interface branch from 1275d78 to 099844f Compare December 1, 2025 12:41
@puhtaytow puhtaytow changed the title vote-interface: Vote, VoteUpdate, TowerSync enable frozen-abi StableAbi vote-interface: enable StableAbi for frozen-abi types Dec 1, 2025
@puhtaytow puhtaytow force-pushed the enable-stableabi-vote-interface branch from 996b200 to 3791768 Compare December 5, 2025 09:29
@puhtaytow puhtaytow force-pushed the enable-stableabi-vote-interface branch from 3791768 to 27602e3 Compare December 5, 2025 09:32
@puhtaytow puhtaytow marked this pull request as ready for review December 5, 2025 09:34
Copy link
Contributor

@alexpyattaev alexpyattaev left a comment

Choose a reason for hiding this comment

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

LGTM, but I am wondering if we could ever derive those impls instead.

@puhtaytow
Copy link
Contributor Author

puhtaytow commented Dec 8, 2025

LGTM, but I am wondering if we could ever derive those impls instead.

Yup, good question.. i'm open for any solution that would work.

From my pov, if we want to avoid raw distribution impl for frozen-abi / stableabi enabled types and derive it thru macro/visitor, then it would mean, every custom type (even those non frozen-abi enabled) used in the api would need to have the implementation.

It might turn out that we have more raw impls than if we did it only for the already frozen-abi enabled types.

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