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

Encode uint64s in file_contract_elements #47

Merged
merged 2 commits into from
Jun 18, 2024
Merged

Conversation

chris124567
Copy link
Member

@chris124567 chris124567 commented Jun 18, 2024

Encode Filesize, WindowStart, WindowEnd as uint64 BLOBs instead of using INTEGERs. For instance in block 154228 someone formed a contract that contained a WindowStart value with the high bit set, causing the current implementation to fail.

@n8maninger n8maninger merged commit 53efb07 into master Jun 18, 2024
6 of 7 checks passed
@n8maninger n8maninger deleted the fix-uint64-encoding branch June 18, 2024 21:50
@chris124567
Copy link
Member Author

chris124567 commented Jun 18, 2024

Now that's fast :) Thanks

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