What is Dencun hardfork?
Dencun hardfork activates all EIPs also activated on Ethereum mainnet. The table below lists differences if any.
EIP | Scope | |
---|---|---|
EIP-1153: Transient storage opcodes | EL | Not modified |
EIP-4788: Beacon block root in the EVM | CL, EL | Not modified, same addresses as Ethereum |
EIP-4844: Shard Blob Transactions | CL, EL | Constants maybe modified from Ethereum (* ) |
EIP-5656: MCOPY - Memory copying instruction | EL | Not modified |
EIP-6780: SELFDESTRUCT only in same transaction | EL | Not modified |
EIP-7044: Perpetually Valid Signed Voluntary Exits | CL | Not modified |
EIP-7045: Increase max attestation inclusion slot | CL | Not modified |
EIP-7514: Add Max Epoch Churn Limit | CL | Constants maybe modified from Ethereum (* ) |
EIP-7516: BLOBBASEFEE opcode | EL | Not modified |
* See Differences with Ethereum mainnet
Note: The trusted setup required for deneb's cryptography is the same as defined in Ethereum's consensus spec release v1.4.0, which can be found here.
Differences with Ethereum mainnet
EIP-4844
Gnosis chain has slots significantly faster than Ethereum. Bigger blocks could have a higher cost to the network than Ethereum so we may price blobs differently. Ethereum mainnet has chosen a target of 3 blobs from real live experiments on mainnet with big blocks. Consecuently this parameters may not be adecuate.
Gnosis chain has significantly cheaper fees than mainnet, so blob spam is a concern. Ethereum's MIN_BLOB_GASPRICE
makes blob space free (1e-18 USD / blob) if usage is under the target for a sustained period of time. The same concern applies to Ethereum, but consensus is that choosing a specific value that may apply to only some market conditions and not others. Given that Gnosis native token is a stable coin, this concerns are mitigated. Given usage under target for regular txs and blob data, setting min blob gas price to 1 GWei reduces the cost per byte by a factor of 16.
Constant | Value |
---|---|
MIN_BLOB_GASPRICE | 1000000000 |
TARGET_BLOB_GAS_PER_BLOCK | 131072 |
MAX_BLOB_GAS_PER_BLOCK | 262144 |
BLOB_GASPRICE_UPDATE_FRACTION | 1112826 |
EIP-7514
Gnosis chain has both a lower CHURN_LIMIT_QUOTIENT
and faster epoch times. A MAX_PER_EPOCH_ACTIVATION_CHURN_LIMIT
value of 2 provides a good trade-off to:
- Limit max state growth in the next year to 1M validators
- Increase the minimum time for a 2/3 malicious take-over to 150 days at current validator set sizes
- Allow validator set growth to prevent long queues unless there's exceptional demand
Constant | Value |
---|---|
MAX_PER_EPOCH_ACTIVATION_CHURN_LIMIT | 2 |
Upgrade Schedule
Network | Timestamp | Date & Time (UTC) | Fork Hash | Beacon Chain Epoch |
---|---|---|---|---|
Chiado | 1706724940 | Wed Jan 31 2024 18:15:40 GMT+0000 | 0x5fbc16bc | 516608 |
Mainnet | 1710181820 | Monday March 11 202418:30:20 +UTC | 0x1384dfc1 | 889856 |
How to Prepare
For Validators
Update your clients:
Execution Layer
Consensus Layer