-
Notifications
You must be signed in to change notification settings - Fork 924
Bump ssz_types
to v0.12.2
#8032
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
base: unstable
Are you sure you want to change the base?
Conversation
9e007fd
to
9565bac
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good!
Just a few expects here and there that I wonder if we should remove
Sorry @macladson, after discussing with Jimmy we decided it would be better to remove these |
Some required checks have failed. Could you please take a look @macladson? 🙏 |
Some required checks have failed. Could you please take a look @macladson? 🙏 |
Issue Addressed
#8012
Proposed Changes
Replace all instances of
VariableList::from
andFixedVector::from
to theirtry_from
variants.While I tried to use proper error handling in most cases, there were certain situations where adding an
expect
for situations wheretry_from
can trivially never fail avoided adding a lot of extra complexity.