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

Upper bound for CBOR-in-CBOR tag is 7 instead of 5 bytes #2484

Merged
merged 1 commit into from
Jul 31, 2020

Conversation

mrBliss
Copy link
Contributor

@mrBliss mrBliss commented Jul 31, 2020

Apparently we sometimes generate blocks that are 65536 bytes large or more,
requiring a 7 byte CBOR-in-CBOR tag (65535 would only require 5 bytes), failing
the test added in #2481, as our upper bound assumed 5 bytes.

@mrBliss mrBliss added the consensus issues related to ouroboros-consensus label Jul 31, 2020
@mrBliss mrBliss requested a review from edsko July 31, 2020 10:05
Apparently we sometimes generate blocks that are 65536 bytes large or more,
requiring a 7 byte CBOR-in-CBOR tag (65535 would only require 5 bytes), failing
the test added in #2481, as our upper bound assumed 5 bytes.
@mrBliss mrBliss force-pushed the mrBliss/fix-cbor-in-cbor-estimate branch from 07db1b1 to c4b76e7 Compare July 31, 2020 10:18
@mrBliss
Copy link
Contributor Author

mrBliss commented Jul 31, 2020

bors merge

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Jul 31, 2020

@iohk-bors iohk-bors bot merged commit e4df654 into master Jul 31, 2020
@iohk-bors iohk-bors bot deleted the mrBliss/fix-cbor-in-cbor-estimate branch July 31, 2020 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consensus issues related to ouroboros-consensus
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants