Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NonZeroType #1527

Merged
merged 16 commits into from
Dec 13, 2024
Merged

Conversation

franciszekjob
Copy link
Collaborator

@franciszekjob franciszekjob commented Nov 25, 2024

Closes #1519

Introduced changes

This PR fixes error occurring when contract's ABI contains core::zeroable::NonZero

  • Add NonZeroType and NonZeroTypeSerializer

  • This PR contains breaking changes

@franciszekjob franciszekjob changed the title Add core::zeroable::NonZero type Add NonZeroType Nov 27, 2024
@franciszekjob franciszekjob marked this pull request as ready for review November 27, 2024 17:48
Copy link
Collaborator

@ddoktorski ddoktorski left a comment

Choose a reason for hiding this comment

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

It seems that the serializer_for_type function should be also updated in order to fix this bug.

@franciszekjob franciszekjob merged commit 4582584 into development Dec 13, 2024
10 checks passed
@franciszekjob franciszekjob deleted the franciszekjob/1519-type-non-zero-fix branch December 13, 2024 12:37
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.

Type 'core::zeroable::NonZero' is not defined
2 participants