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

Skip panic reason in the canonical form #609

Merged
merged 1 commit into from
Sep 13, 2024
Merged

Conversation

xgreenx
Copy link
Contributor

@xgreenx xgreenx commented Sep 13, 2024

The main reason for removing it from canonical serialization is to avoid affecting the block ID for different panic reasons. The primary goal is just to know that some operation was done incorrectly; what exactly failed is less important. It reduces the chance of getting different blocks within one panic.

Related VM change: FuelLabs/fuel-vm#826

Before requesting review

  • I have reviewed the code myself

@xgreenx xgreenx requested a review from a team September 13, 2024 08:24
@xgreenx xgreenx self-assigned this Sep 13, 2024
@xgreenx xgreenx merged commit b35a2bf into master Sep 13, 2024
6 checks passed
@xgreenx xgreenx deleted the feature/skip-panic-reason branch September 13, 2024 11:38
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