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 Nonce as 32 bytes array #472

Merged
merged 3 commits into from
Mar 18, 2023
Merged

Make Nonce as 32 bytes array #472

merged 3 commits into from
Mar 18, 2023

Conversation

xgreenx
Copy link
Contributor

@xgreenx xgreenx commented Mar 17, 2023

The specs say that the Nonce is a 32 bytes array but the current code uses Word. In the follow-up PR in fuel-vm we will replace Word with a 32-byte array.

@xgreenx xgreenx requested a review from a team March 17, 2023 18:44
@xgreenx xgreenx self-assigned this Mar 17, 2023
Voxelot
Voxelot previously approved these changes Mar 17, 2023
@Voxelot
Copy link
Member

Voxelot commented Mar 17, 2023

Also updated the fuel-tx serialized format to make input message nonce bytes32, since it can be larger than uint64 according to the message id specification which states that it's determined by the chosen L1.

@xgreenx xgreenx merged commit 70774ba into master Mar 18, 2023
@xgreenx xgreenx deleted the feature/nonce-an-array branch March 18, 2023 13:25
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.

4 participants