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

Make SerializedSize return const size #368

Closed
freesig opened this issue Feb 27, 2023 · 3 comments
Closed

Make SerializedSize return const size #368

freesig opened this issue Feb 27, 2023 · 3 comments
Assignees
Labels
fuel-vm Related to the `fuel-vm` crate.

Comments

@freesig
Copy link
Contributor

freesig commented Feb 27, 2023

          It'd be nice if we had a `SerializedSize` trait in fuel-types we could use to constrain `T` with here. Then we could ensure that the correct length is always used.

Originally posted by @Voxelot in #353 (comment)

@freesig freesig self-assigned this Feb 27, 2023
@freesig freesig added the fuel-vm Related to the `fuel-vm` crate. label Feb 27, 2023
@Voxelot
Copy link
Member

Voxelot commented Mar 8, 2023

removing from audit code freeze target as it's not a critical improvement

@xgreenx
Copy link
Collaborator

xgreenx commented May 12, 2023

Blocked by #443

@Dentosal
Copy link
Member

Fixed in #443

@xgreenx xgreenx assigned Dentosal and unassigned freesig Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fuel-vm Related to the `fuel-vm` crate.
Projects
None yet
Development

No branches or pull requests

4 participants