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

Prepare for Pectra fork #686

Closed
3 tasks
PabloCastellano opened this issue Jan 21, 2025 · 0 comments · Fixed by #719
Closed
3 tasks

Prepare for Pectra fork #686

PabloCastellano opened this issue Jan 21, 2025 · 0 comments · Fixed by #719
Assignees

Comments

@PabloCastellano
Copy link
Member

PabloCastellano commented Jan 21, 2025

Pectra upgrade will increase the number of blobs to 6/9.

Pectra Schedule

  • Holesky will fork at slot 3710976 (Mon, Feb 24 at 21:55:12 UTC)
  • Sepolia will fork at slot 7118848 (Wed, Mar 5 at 07:29:36 UTC)
  • Ethereum mainnet: March 2025 (TBD on March 6th)

Make sure Blobscan is ready for this change. We might need to update some constants and logic in apps/web/src/utils/ethereum.ts:

export const GAS_PER_BLOB = 131_072; // 2 ** 17
export const BLOB_SIZE = GAS_PER_BLOB;
export const TARGET_BLOB_GAS_PER_BLOCK = 393_216;
export const TARGET_BLOBS_PER_BLOCK = TARGET_BLOB_GAS_PER_BLOCK / GAS_PER_BLOB;
export const BLOB_GAS_LIMIT_PER_BLOCK = 786_432;
export const MAX_BLOBS_PER_BLOCK = BLOB_GAS_LIMIT_PER_BLOCK / GAS_PER_BLOB;

TODO:

  • use a switch to use gas target depending on block number
  • api indexer endpoint: update calculus to determine base fee
  • ui: update gas target component
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 a pull request may close this issue.

2 participants