Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

Conversation

ChihChengLiang
Copy link
Contributor

What was wrong?

This is an attempt to fix #1497. We have block operation validations that raise IndexError, which was usually assumed unhandled throughout the codebase. This bug can be exploited to crash Trinity by sending a block contains an operation with an out of range validator index.

How was it fixed?

Don't raise IndexError, raise ValidationError instead.

Cute Animal Picture

put a cute animal picture link inside the parentheses

@ChihChengLiang
Copy link
Contributor Author

Close in favor of #1498

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Beacon operation validation can raise IndexErrors
1 participant