Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

fix(derive): Span batch bitlist encoding#122

Merged
refcell merged 1 commit intomainfrom
cl/span-batch-bits
Apr 19, 2024
Merged

fix(derive): Span batch bitlist encoding#122
refcell merged 1 commit intomainfrom
cl/span-batch-bits

Conversation

@clabby
Copy link
Copy Markdown
Contributor

@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-proof Area: proof crates K-fix Kind: fix labels Apr 19, 2024
@clabby clabby self-assigned this Apr 19, 2024
@clabby clabby force-pushed the cl/span-batch-bits branch from 6d5f9c7 to 54a1cb0 Compare April 19, 2024 08:03
@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
@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
theochap pushed a commit to ethereum-optimism/optimism that referenced this pull request Dec 10, 2025
## 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 op-rs/kona#112
theochap pushed a commit to ethereum-optimism/optimism that referenced this pull request Jan 14, 2026
## 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 op-rs/kona#112
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A-proof Area: proof crates 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