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

fix(sol-types): remove SolType::ENCODED_SIZE default #418

Merged
merged 2 commits into from
Nov 18, 2023

Conversation

DaniPopes
Copy link
Member

@DaniPopes DaniPopes commented Nov 18, 2023

Motivation

SolType::ENCODED_SIZE for UDVTs and custom structs were incorrect because they were not specified and would use the confusing default of Some(32).

Solution

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@DaniPopes DaniPopes merged commit b3750a7 into main Nov 18, 2023
20 checks passed
@DaniPopes DaniPopes deleted the dani/soltype-size branch November 18, 2023 14: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.

2 participants