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

Fix and test FixedBytes size #9

Merged
merged 2 commits into from Aug 30, 2022
Merged

Conversation

electricddev
Copy link
Contributor

FixedBytes in ethabi have length equal to the actual length in bytes. Therefore, the (byte_count / 32) + 1 seemed like a bug to me and was causing my substream to bug on bytes32 fields in the events.

I've removed the calculation and added an extra test as well.

@electricddev electricddev reopened this Aug 30, 2022
@maoueh maoueh merged commit e677937 into streamingfast:develop Aug 30, 2022
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.

None yet

2 participants