Chiado's Dencun Hardfork Thread

Gnosis Chain core devs continuously push upgrades from the Ethereum mainnet onto Gnosis Chain. The most immediate is the Dencun upgrade, which will be synchronised with the Ethereum roadmap. As the first initial step towards completing the upgrade, Gnosis Chain’s Chiado testnet will hard fork on 31 January 2024 at 18:15:40 UTC, Slot: 8265728 Epoch: 516608

Which EIPs will be implemented on Gnosis Chain?

EIP - 1153: Transient storage opcodes
EIP - 4788: Beacon block root in the EVM
EIP - 4844: Shard Blob Transactions
EIP - 7516: BLOBBASEFEE opcode
EIP - 5656: MCOPY - Memory copying instruction
EIP - 6780: SELFDESTRUCT only in same transaction

The most important feature of the upgrade enables blobs (EIP - 4844 Proto-Danksharding), which will enable L2 chains to scale and provide a cheaper data layer.

What do you need to do?

If you’re a validator on Chiado, the upgrade requires some steps to prepare your nodes. We’ll release client versions in the coming days, and you also need approximately 35GB of additional storage for blobs.

Check out the videos below for EIP details and more.

Gnosis Validator Meetup #12

Join us for a Validator Meetup #12 as we begin a fresh and exciting year at Gnosis Chain. We’ll get updates about the approaching Dencun upgrade from the core team, discuss the latest news and answer your questions.

​📆 18 Jan, 2024
:clock3: 4PM UTC 5PM CET
:round_pushpin: https://discord.gg/3pEhuuGq?event=1192521957661487306

Click on the link to register!

Validator Docs | Validator Feedback & Resource Form | Gnosis Chain Discord | Forum | Twitter | Discord | YouTube | Website

1 Like

Dear Chiado validators,

Gnosis Chain’s Chiado testnet will hard fork on 31 January 2024 at 18:15:40 UTC, Slot: 8265728 Epoch: 516608. To ensure a smooth transition and maximize the benefits of the Dencun upgrade, we strongly encourage all node runners to upgrade their nodes accordingly.

Erigon v2.57.0 is ready to download. We highly recommend updating promptly to ensure seamless network operations after the fork.

Download here: Release v2.57.0 · ledgerwatch/erigon · GitHub

v1.25.1 of the NethermindEth client is out. This version supports the upcoming Chiado Dencun hard fork.

Download here: Release v1.25.1 · NethermindEth/nethermind · GitHub

Gnosis Validator Meetup #12

We discussed the latest updates on Gnosis Chain, got some updates on the approaching Dencun upgrade from the core team, and answered your questions.

Watch the record here: https://www.youtube.com/watch?v=Y-yLstDGp9c

Feel free to visit the #chiado-testnet channel on Discord to request Chiado participation keys. We’ll be happy to assist you!

Stay tuned for further updates!

2 Likes

Gnosis Chain’s Chiado testnet will hard fork on 31 January 2024 at 18:15:40 UTC, Slot: 8265728 Epoch: 516608.

Please upgrade your EL/CL nodes by Jan 31st before the Chiado hard fork!

Execution Layer:

Consensus Layer:

On the latest core devs call, the team discussed the final preparation for Dencun. Check out for more details.

Gnosis Validator Meetup #12

We discussed the latest updates on Gnosis Chain, got some updates on the approaching Dencun upgrade from the core team, and answered your questions.

Watch the record here!

Feel free to visit the #chiado-testnet channel on Discord to request Chiado participation keys. We’ll be happy to assist you!

2 Likes

Dencun Upgrade Specification

Included EIPs

This hard fork activates all EIPs also activated on Ethereum mainnet.
Table below list 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 in consensus/preset/gnosis/trusted_setups.

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

See Gnosis Chain MAX_PER_EPOCH_ACTIVATION_LIMIT (EIP-7514) - HackMD for more details

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 - 516608
Mainnet TBD TBD - TBD

Readiness Checklist

List of outstanding items before deployment.

  • Client Integration Testing
    • Deploy a Client Integration Testnet
    • Integration Tests
  • Select Fork Triggers
    • Chiado
    • Mainnet
  • Deploy Clients
  • Activate Fork

List of tools that Gnosis DevOps run for Chiado that are publicly accessible to everyone:

The Dencun upgrade is live on the Chiado!

Finalized block: Dora the Explorer - Epoch 516608

1 Like