ReamLabs
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Help
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    2
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # Post-Quantum Devnet-1 Plan - ReamLabs’ View *To learn more about the overall Lean Consensus effort, its research and development progress, we recommend checking out beamroadmap.org. Also check out our [ReamLabs website](https://reamlabs.com) to learn more about our team.* --- Following our participation at [Beam Day during EthCC\[8\]](https://hackmd.io/@willcorcoran/BkZ-gs5Bll) in Cannes, we are excited by the shared enthusiasm surrounding the Lean Ethereum Consensus effort, especially the [initiative to develop the first Post-Quantum testnet](https://hackmd.io/@willcorcoran/SyHBto9See). We look forward to collaborating with all teams to achieve the first devnet/testnet for the Lean Consensus effort. Given the rapid pace of research progress in each sub-specification, **we favor many iterations of “incomplete devnets” over a wait to build a “complete testnet” of the full specs**. This is so that implementation can be parallelized/interleaved with speccing, feedback loops between research and engineering are tightened, speccing gaps are discovered sooner, and therefore ultimately shortening the time to production-readiness. This inaugural devnet should be the **testing ground for how the Lean Consensus effort can be coordinated between researchers and both existing and new client teams alike**. It will be the first “integration tests” of multiple components of the Lean Ethereum Consensus, giving researchers and client teams the first glimpse into how the sub-specs work together, not as standalone components but as a consensus client, and identifying missing gaps to turn a specification into an implementation. Because of how relatively fragile and fast moving the specifications are at this stage, this devnet **should not be intended for public use**, i.e. validator set will be whitelisted, block explorer will be minimal, short-lived and likely unstable, etc. We anticipate that we will face many unknown unknowns. Therefore, we propose that the first devnet is **feature-limited** to PQ-signing and propagation of blocks and attestations only. The devnet development should be **timeboxed and completed by December 2025**, in order to carry over the knowledge and lessons learnt to a fresh start and potentially more feature-complete devnets and testnets in 2026. Critical questions that require resolution and consensus across all participating teams before proceeding with any detailed planning, due to their highly consequential nature, include: 1. What are the objectives of this devnet that **absolutely require interop**? 2. What is the **timeline** for executing and completing this devnet? 3. Who needs to be involved? And the key person from e.g. **client teams, PQ signature and networking sub-specs authors** Along with the view above, we would like to propose the PQ Devnet-1 Plan below, which is our initial draft of how we envision the devnet be planned and executed. We hope the document can be the starting template for the coordination between researchers, all client teams and all related participants to achieve PQ Devnet-1. All feedback and suggestions are welcomed and we are more than happy for the community to have a shared ownership over this document. --- # Objectives ## Primary Objectives 1. **Prove PQ signature viability:** Demonstrate that hash-based multi-signatures with the proposed parameters can operate within Ethereum's timing constraints (sub-second signing/verification) 2. **Validate multi-client interoperability:** Ensure all participating client implementations can sync and validate each other's blocks and attestations within Ethereum’s timing constraints 3. **Validate resource requirements:** Confirm whether the devnet with minimum sub-specs can operate within [EIP-7870](https://eips.ethereum.org/EIPS/eip-7870)’s hardware constraints (CPU, memory, storage) 4. **Identify specification gaps:** Discover missing or ambiguous elements in PQ signature and other parts of the specs through implementation attempts ## Secondary Objectives 1. **Establish common metrics and performance baselines:** Create reference benchmarks for future PQ signature implementations to target 2. **Develop multi-client coordination protocols:** Establish effective processes for coordinating development priorities and devnets across teams. Feedback into future development estimates based on devnet implementation experience 3. **Document implementation challenges:** Identify missing specifications, operational issues, integration difficulties, performance bottlenecks and optimization opportunities. 4. **Create reusable testing infrastructure:** Build monitoring, benchmarking, and analysis tools that can be reused for pqdevnet-2 and beyond # Target Features ## Signature - Reference papers: - [Hash-Based Multi-Signatures for Post-Quantum Ethereum](https://eprint.iacr.org/2025/055) - [At the Top of the Hypercube \-- Better Size-Time Tradeoffs for Hash-Based Signatures](https://eprint.iacr.org/2025/889) - Specs: - **\[TBC\]** Parameters - Hash chains: 64 (chosen for efficiency and power of two) - Chain length: 8 (chosen for efficiency and power of two) - Max lifetime: 2^18 - Reference implementation: [https://github.com/b-wagn/hash-sig](https://github.com/b-wagn/hash-sig) ## Signature Aggregation - No signature aggregation yet for this devnet. Each attester is expected to receive each individual attestation from other attesters. ## Types & Containers - Root: `Bytes32` - PubKey: **[TBD by PQ sub-specs]** - PQSignature: **[TBD by PQ sub-specs]** - Validator: - index: `uint64` - pubkey: `PubKey` - BlockHeader - slot: `uint64` - proposer\_index: `uint64` - body: `Root` (of empty block) - signature: `PQSignature` - Attestation - slot: `uint64` - attester\_index: `uint64` - signature: `PQSignature` ## Serialization & Hashing - Serialization: [https://ethereum.github.io/consensus-specs/ssz/simple-serialize/](https://ethereum.github.io/consensus-specs/ssz/simple-serialize/) - Hashing: Poseidon2 - Paper: [https://eprint.iacr.org/2023/323](https://eprint.iacr.org/2023/323) - Reference implementation: [https://github.com/HorizenLabs/poseidon2](https://github.com/HorizenLabs/poseidon2) ## Consensus - No global consensus mechanism. Each validator only verifies the received attestations and tallies up each block’s attestations locally. - A block is justified when the validator receives valid individual attestations from 2/3 of the validators. - A block is finalized when its child block becomes justified. - Block validation - Validate only slot number - Does not refer to parent block - Exclusions - No beam committees (i.e. attester committees) - No sync committees - No RANDAO. Use round-robin proposer selection by validator_index ## Networking - Transport: QUIC on IPv4 - Multiplexing: QUIC’s built-in multiplex - Gossipsub v1.1 - `beam\_block` - `beam\_attestation` - Req/Resp domains - Out of scope # Success Criteria - The network is able to justify and finalize at least `300 x NUM_CLIENT_IMPLEMENTATIONS` blocks - Full block pipeline finishes within 6 seconds (all validators received and verified all attestations for the current slot) - Block proposal - Each block is signed within 1 second (ideal target: 500us) - Each block is propagated within 1 second - Attestation - Each block is verified within 1 second upon receival (ideal target: 300us) - Each attestation is signed within 1 second (ideal target: 500us) - Each attestation is propagated within 1 second - Benchmark is produced with metrics defined in Instrumentation & Metrics section # Parameters - NUM\_CLIENT\_IMPLEMENTATIONS \= `[number of participating clients]` - MIN\_GENESIS\_ACTIVE\_VALIDATOR\_COUNT \= `10 * NUM_CLIENT_IMPLEMENTATIONS` - SLOT\_TIME\_SECONDS \= `12` # Test Infrastructure - **\[TBC\]** What infrastructure will the devnet be run on? And costing - **\[TBC\]** Who is responsible for setting up the infrastructure? - **\[TBC\]** What is the separation of responsibility between client team and infrastructure person/team? # Readiness Checklist Prerequisite activities before starting pqdevnet-1 execution. | | Researcher | Client Team 1 | Client Team 2 | Client Team … | | :---- | ----- | ----- | ----- | ----- | | PQ-sig directional paper is published | ✅ | Not Applicable | Not Applicable | Not Applicable | | PQ-sig specification is published | ⏳ | Not Applicable | Not Applicable | Not Applicable | | PQ-sig reference implementation is published | ⏳ | Not Applicable | Not Applicable | Not Applicable | | pqdevnet-1 specs[^1] reached consensus with \>= 2 clients | ⏳ | ⏳ | ⏳ | ⏳ | | Client implemented pqdevnet-1 specs & passing reference tests[^2] | Not Applicable | ⏳ | ⏳ | ⏳ | | Client successfully ran their single-client devnet for 200+ slots | Not Applicable | ⏳ | ⏳ | ⏳ | # Genesis State - `get_active_validator_indices() > MIN_GENESIS_ACTIVE_VALIDATOR_COUNT` - **TBD: how to compute** `get_active_validator_indices()` # Instrumentation & Metrics ## Instrumentation - Structured JSON logging format following [OpenTelemetry logging standard](https://opentelemetry.io/docs/concepts/signals/logs/#log-record) - The metrics SHOULD behave under the guidelines set by the [Prometheus documentation](https://prometheus.io/docs/practices/instrumentation/#things-to-watch-out-for) - A shared instance of Prometheus, Loki, Grafana for shared visibility **(TBD: ownership)** ## Tracing - `key_generation` - `block_signing` - `block_validation` - `attestation_signing` - `attestation_validation` - `block_pipeline` (from start of slot time to all attestations received) ## Logging - `key_generation_started` - `key_generation_completed` - `network_peer_connected` - `block_created` - `block_published` - `block_received` - `block_validated` - `attestation_created` - `attestation_published` - `attestation_received` - `attestation_validated` - It should also log the count of its known valid attestations for the same slot ## Metrics *Inspired by [https://github.com/ethereum/beacon-metrics/blob/master/metrics.md](https://github.com/ethereum/beacon-metrics/blob/master/metrics.md)* | Name | Metric Type | Usage | Sample collection event | | :---- | :---- | :---- | :---- | | libp2p\_peers | Gauge | Tracks the total number of libp2p peers | On peer add/drop | | beam\_head\_slot | Gauge | Latest slot of the chain | On fork choice | | beam\_finalized\_slot | Gauge | Current finalized slot | On slot transition | | beam\_justified\_slot | Gauge | Current justified slot | On slot transition | | beam\_current\_active\_validators | Gauge | Current total active validators | On slot transition | ### Optional Metrics | Name | Metric Type | Usage | Sample collection event | | :---- | :---- | :---- | :---- | | process\_cpu\_load | Gauge | Current CPU load | Every second | | process\_memory\_usage | Gauge | Current memory usage (MiB) | Every second | | process\_storage\_usage | Gauge | Current storage usage (MiB) | Every second | | process\_upload\_throughput | Gauge | Current upload throughput (Mb/s) | Every second | | process\_download\_throughput | Gauge | Current download throughput (Mb/s) | Every second | # Timeline | Date | Target | | :---- | :---- | | 31-Jul-2025 | PQ-sig specifications & reference implementations published | | 31-Aug-2025 | pqdevnet-1 specifications reach consensus (researchers \+ all participating clients) | | 30-Sep-2025 | Client implementation | | 31-Oct-2025 | Client implementation | | 20-Nov-2025 | Successful single-client devnet by all participating client teams | | 20-Dec-2025 | Successful multi-client devnet | # Communications - Bi-weekly sync on Google Meet - A new channel on Eth R\&D discord for cross-team communication & visibility to other core devs & client teams # Contacts Contacts should include - Overall coordinator for the devnet effort - Key contact person(s) of each client team - Authors of the relevant subspecs # Rationales ## Naming: Devnet vs. Testnet - **Devnet:** A devnet is a private, controlled environment used by protocol developers to test new features, consensus mechanisms, and network upgrades before deploying them to public testnets or mainnet. - **Testnet:** A testnet is a public environment that mimics mainnet functionality using test tokens, allowing developers and users to test applications and protocol upgrades in a production-like setting. Unlike devnets, testnets are accessible to anyone and serve as the final testing stage before going live on mainnet. In this sense, “devnet” is the more appropriate term for the scope of work. ## Multiple small devnets over mega-devnet/testnet “Separate devnets were preferred and worked well over a consolidated mega-devnet for Pectra/Peerdas/EOF” \- [Devcon SEA R\&D Workshop on Devnets](https://github.com/ethereum/pm/blob/master/Interop-Notes/DevconSEA/R%26D-workshop/Devnets.md) ## Why no consensus mechanism? While we aspire to implement [3-Slot Finality](https://arxiv.org/abs/2411.00558), we prefer to scope down this first devnet to achieve the primary objectives (PQ signature viability, minimum multi-client interop drill, minimum hardware requirements, sub-speccing gaps) sooner than later. 3-Slot Finality and other features can be prioritized for the 2nd devnet onwards and most likely will benefit from the feedback of the 1st devnet’s primary objectives. ## Why QUIC? Beacon clients are [already prioritizing migrating to QUIC](https://discord.com/channels/595666850260713488/646778960830660623/1386093062002053120). ## Why `300 x NUM_CLIENT_IMPLEMENTATIONS` blocks for the success criteria - With 2 clients, the devnet will be running for `300 * 2 * 6 / 60 = 60` minutes, which should be ample enough time to discover any issues given how minimal this devnet scope is ## Why does the success criteria use 6 seconds but slot time is 12 seconds? The goal is to complete each slot processing within 6 seconds. The extra 6 seconds is the buffer to debug any delay issues that may arise from being the first devnet ## Why need reference tests before the Devnet initiation? Standing on the shoulder of giants by learning from the past: “Define clear testing requirements pre-devnet participation” \- [https://github.com/ethereum/pm/blob/master/Interop-Notes/DevconSEA/R%26D-workshop/Devnets.md\#spec-tests](https://github.com/ethereum/pm/blob/master/Interop-Notes/DevconSEA/R%26D-workshop/Devnets.md#spec-tests) ## Why need a shared Prometheus, Loki and Grafana instance? Standing on the shoulder of giants by learning from the past: “EthPandaOps to publicize their Loki instance and empower everyone with log aggregation ability for devnets” \- [https://github.com/ethereum/pm/blob/master/Interop-Notes/DevconSEA/R%26D-workshop/Devnets.md](https://github.com/ethereum/pm/blob/master/Interop-Notes/DevconSEA/R%26D-workshop/Devnets.md) # Acknowledgements We acknowledge the accumulated lessons learnt from the Beacon Chain launch, the merge, and all previous hardforks, including but not limited to: - [https://github.com/djrtwo/writing/blob/main/docs/2023-02-23\_2023-Reflections.md](https://github.com/djrtwo/writing/blob/main/docs/2023-02-23_2023-Reflections.md) - [https://cointelegraph.com/news/eth2-dev-talks-about-challenges-and-lessons-learned-ahead-of-mainnet-launch](https://cointelegraph.com/news/eth2-dev-talks-about-challenges-and-lessons-learned-ahead-of-mainnet-launch) - [https://etherworld.co/2025/03/03/aftermath-of-holesky-testnet-incident-lessons-learned/](https://etherworld.co/2025/03/03/aftermath-of-holesky-testnet-incident-lessons-learned/) - [https://github.com/ethereum/pm/blob/master/Pectra/holesky-postmortem.md](https://github.com/ethereum/pm/blob/master/Pectra/holesky-postmortem.md) [^1]: Devnet specs example: [https://notes.ethereum.org/@ethpandaops/fusaka-devnet-0](https://notes.ethereum.org/@ethpandaops/fusaka-devnet-0) [^2]: Reference tests example: [https://hackmd.io/@manunalepa/BJzNsCnvyx](https://hackmd.io/@manunalepa/BJzNsCnvyx)

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully