Skip to content

Add Jovian L1Block Scalar Parsing Guide#901

Open
Lesedi37 wants to merge 1 commit intoethereum-optimism:mainfrom
Lesedi37:patch-3
Open

Add Jovian L1Block Scalar Parsing Guide#901
Lesedi37 wants to merge 1 commit intoethereum-optimism:mainfrom
Lesedi37:patch-3

Conversation

@Lesedi37
Copy link
Copy Markdown

@Lesedi37 Lesedi37 commented Apr 7, 2026

Adding technical specification for bit-shifting logic in the Jovian upgrade.

### Summary
This PR adds a technical guide for parsing the new packed `l1FeeScalar` introduced in the Jovian upgrade. 

### Technical Changes
- Defines the bit-layout for the 32-byte storage slot at the L1Block predeploy.
- Provides a Solidity implementation for extracting `baseFeeScalar` (bits 192:224) and `blobBaseFeeScalar` (bits 160:192).

### Impact
Ensures that application developers and indexers can accurately calculate L1 data costs post-Jovian, preventing inflated gas estimates and transaction failures.

### Payout Metadata
- **Contributor:** Lesedi37
- **Wallet Address:** 0x1db618e6bfc35bd48b91431a55c4948b27e7a539
@Lesedi37
Copy link
Copy Markdown
Author

Lesedi37 commented Apr 7, 2026

Hi Team, I've added the Jovian scalar parsing guide. I see the spec check failed—I'm happy to adjust the formatting or sign the DCO once a maintainer has had a chance to review the technical logic. Thanks! - Lesedi37

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.

1 participant