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

chore: refactor BlockExecutionError into validation and internal errors #9911

Merged
merged 3 commits into from
Jul 30, 2024

Conversation

Rjected
Copy link
Member

@Rjected Rjected commented Jul 30, 2024

This adds a variant that is specific to non-validation-related execution errors. This way, we can use it in other error types, for example in #9884 where we return an INVALID response for validation-related errors and can filter those variants out

depends on #9905

@Rjected Rjected added C-enhancement New feature or request A-blockchain-tree Related to sidechains, reorgs and pending blocks labels Jul 30, 2024
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense

pending conflicts

@Rjected Rjected force-pushed the dan/refactor-block-execution-error branch from 4d8e44c to 8154dd6 Compare July 30, 2024 18:18
@Rjected Rjected enabled auto-merge July 30, 2024 18:21
@Rjected Rjected added this pull request to the merge queue Jul 30, 2024
Merged via the queue into main with commit 9586b9a Jul 30, 2024
32 checks passed
@Rjected Rjected deleted the dan/refactor-block-execution-error branch July 30, 2024 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-blockchain-tree Related to sidechains, reorgs and pending blocks C-enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants