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

Open
PabloCastellano opened this issue Jan 21, 2025 · 0 comments
Open

Prepare for Pectra fork #686

PabloCastellano opened this issue Jan 21, 2025 · 0 comments

Comments

@PabloCastellano
Copy link
Member

Pectra upgrade is expected to happen in March 2025 and will increase the number of blobs to 6.

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;

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

No branches or pull requests

1 participant