Skip to content

Conversation

@morph-dev
Copy link

Add support for EIP-7782 (6-seconds slots).

This is first version based on:

Adds following to genesis.json:

{
  "config": {
    "eip7782Time": 123456,
    "blobSchedule": {
      "eip7782": {
        "target": 3,
        "max": 4,
        "baseFeeUpdateFraction": 10015432
      }
    }
  }
}

And following values to consensus config:

EIP7782_FORK_VERSION: 0x0b000000 
EIP7782_FORK_EPOCH: 18446744073709551615

SLOT_DURATION_MS_EIP7782: 6000
ATTESTATION_DUE_BPS_EIP7782: 5000
AGGREGRATE_DUE_BPS_EIP7782: 7500
SYNC_MESSAGE_DUE_BPS_EIP7782: 3333
CONTRIBUTION_DUE_BPS_EIP7782: 6667

MIN_PER_EPOCH_CHURN_LIMIT_EIP7782: 64000000000
MAX_PER_EPOCH_ACTIVATION_EXIT_CHURN_LIMIT_EIP7782: 128000000000

BLOB_SCHEDULE:
  - EPOCH: 18446744073709551615  # EIP7782_FORK_EPOCH
    MAX_BLOBS_PER_BLOCK: 3

Note: This is my first time using and contributing to this repo, so double-check my work. Especially regarding Blob Schedule configuration.

@morph-dev
Copy link
Author

Closing this PR until CL and EL spec updates are merged.

@morph-dev morph-dev closed this Sep 4, 2025
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