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(derive): Span batch bitlist encoding #122

Merged
merged 1 commit into from
Apr 19, 2024
Merged

Conversation

clabby
Copy link
Collaborator

@clabby clabby commented Apr 19, 2024

Overview

Fixes the spanbatch bitlist encoding by following the spec of Golang's big.Int. Internally, this type uses a big-endian, zero-padded array of u8s, and when the number grows, it extends itself left in memory.

Metadata
closes #112

## Overview

Fixes the spanbatch bitlist encoding by following the spec of Golang's
`big.Int`. Internally, this type uses a big-endian, zero-padded array of
u8s, and when the number grows, it extends itself left in memory.

**Metadata**
closes #112
@clabby clabby added A-derive Area: kona-derive crate K-fix Kind: fix labels Apr 19, 2024
@clabby clabby self-assigned this Apr 19, 2024
@clabby clabby requested a review from refcell April 19, 2024 16:21
@refcell refcell added this pull request to the merge queue Apr 19, 2024
Merged via the queue into main with commit a0de2ac Apr 19, 2024
26 checks passed
@clabby clabby deleted the cl/span-batch-bits branch April 19, 2024 16:57
@github-actions github-actions bot mentioned this pull request Apr 19, 2024
This was referenced May 29, 2024
This was referenced Jun 6, 2024
This was referenced Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-derive Area: kona-derive crate K-fix Kind: fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix(derive): SpanBatchBits Bit Length Check
2 participants