Skip to content

SIP: Update Perps V3 for Jovian L1Block Scalars#2247

Open
Lesedi37 wants to merge 1 commit intoSynthetixio:masterfrom
Lesedi37:master
Open

SIP: Update Perps V3 for Jovian L1Block Scalars#2247
Lesedi37 wants to merge 1 commit intoSynthetixio:masterfrom
Lesedi37:master

Conversation

@Lesedi37
Copy link
Copy Markdown

@Lesedi37 Lesedi37 commented Apr 7, 2026

Summary

This PR introduces a new SIP to update the Synthetix Perps V3 margin accounting logic. It addresses the architectural changes in the upcoming Jovian upgrade for OP Stack chains (Base/Optimism).

Changes

  • Created a new SIP draft for Jovian L1Block scalar parsing.
  • Detailed the bit-shifting logic required to extract baseFeeScalar and blobBaseFeeScalar from the packed 32-byte word.

Rationale

Post-Jovian, the legacy l1FeeScalar reading method will be deprecated. This update ensures accurate gas cost recovery and prevents protocol revenue leakage.

Payout Metadata

  • Contributor: Lesedi37
  • ** Rabby Wallet address:** 0x1db618e6bfc35bd48b91431a55c4948b27e7a539

This SIP proposes updating the Perps V3 margin accounting to support the packed 32-byte L1Block scalar format introduced in the Jovian upgrade for OP Stack chains. This ensures accurate gas cost recovery and prevents protocol debt.
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 7, 2026

@Lesedi37 is attempting to deploy a commit to the Synthetix Team on Vercel.

A member of the Team first needs to authorize it.

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