Skip to content

Conversation

@niran
Copy link
Contributor

@niran niran commented Nov 19, 2025

This task sets the minimum base fee to 200,000 wei (2e-4 gwei) and the DA footprint scalar to 312. These are the values we intend to use on Base Mainnet as well.

200,000 wei was chosen based on the p5 base fee observed on Base Mainnet from November 7 to 14 and rounded down slightly to get a nice number. The DA footprint was calculated from da_footprint_gas_scalar = block_gas_target_throughput / (blob_target * 128,000 bytes / 12 seconds * estimation_ratio) where block_gas_target_throughput = 30,000,000 gas/sec, blob_target = 6, and estimation_ratio = 1.5. 30,000,000 / (6 * 128,000 / 12 * 1.5) = 312.5, which was rounded down to the nearest integer.

The task uses the OWNER_SAFE hierarchy from the sepolia/2025-11-07-upgrade-fault-proofs task. This differs from SystemConfig parameter changes on Base Mainnet, which do not use the nested safes.

This task sets the Jovian hardfork parameters on Base Sepolia's SystemConfig:
- setDAFootprintGasScalar(260) - Sets DA footprint gas scalar
- setMinBaseFee(5000000) - Sets minimum base fee to 5M wei

These parameters activate with the Jovian hardfork.
Adds gen-validation target to Makefile for generating VALIDATION.md
automatically once the Jovian upgrade is deployed to Base Sepolia.

VALIDATION.md currently contains only a comment explaining it cannot
be generated yet because the setDAFootprintGasScalar and setMinBaseFee
functions don't exist on the current SystemConfig deployment.

Once the Jovian upgrade is deployed, run `make gen-validation` to
generate the full validation file with state-diff.
Updates DA_FOOTPRINT_GAS_SCALAR from 260 to 325 based on the formula:
da_footprint_gas_scalar = gas_target / (l1_target_throughput * estimation_ratio)

Where:
- l1_target_throughput = (blob_count * 128,000 bytes/blob) / 12 sec/block
- gas_target = 31.25 Mgas/sec
- blob_count = 6 blobs/block
- estimation_ratio = 1.5

Calculation:
l1_target_throughput = (6 * 128,000) / 12 = 64,000 gas/sec
da_footprint_gas_scalar = 31,250,000 / (64,000 * 1.5) = 325.52 ≈ 325
Updates the minimum base fee from 5,000,000 wei to 10,000 wei (1e-5 gwei).
This is a placeholder value that will be updated on November 14 to reflect
the previous week's p10-p20 base fee.
…ss from the sepolia/2025-11-07-upgrade-fault-proofs task
@cb-heimdall
Copy link
Collaborator

cb-heimdall commented Nov 19, 2025

✅ Heimdall Review Status

Requirement Status More Info
Reviews 2/2
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 2
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 2
2
1 if commit is unverified 0
Sum 2

Copy link
Contributor

@jackchuma jackchuma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally LGTM. A few other nits not mentioned in other comments:

  • Can you add a FACILITATORS.md file similar to other recent tasks?
  • Can you also update the root Makefile with the latest task signer tool commit hash (abbfa09210582eca32ad4873d862994a5957fbc2)
  • Can you run forge fmt in the task directory with the latest stable foundry release?

@@ -0,0 +1,19 @@
# Base Contracts commit
BASE_CONTRACTS_COMMIT=51788f920e368e72c63cef24a5e1ea0f6562d9a5
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed this is the latest Base contracts commit hash

BASE_CONTRACTS_COMMIT=51788f920e368e72c63cef24a5e1ea0f6562d9a5

# Optimism commit (op-contracts/v5.0.0)
OP_COMMIT=d09c836f818c73ae139f60b717654c4e53712743
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed this is the correct OP commit hash

@niran niran merged commit c3fbe19 into main Nov 20, 2025
5 checks passed
@niran niran deleted the feat/sepolia-set-jovian-parameters branch November 20, 2025 17:03
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.

5 participants