A collection of learning materials on the Beam chain and Ream client.
- Meeting notes - See Meeting notes below.
- Beacon chain - See the Beacon chain page.
- Beam chain - See Beam chain section below.
№ | Date | Notes |
---|---|---|
003 | Dec 10, 2024, 15:30-16:00 UTC | Notes |
002 | Dec 2, 2024, 15:30-16:00 UTC | Notes |
001 | Late November, 2024 | Not available |
- Keynote: [title redacted] - Justin Drake at Devcon SEA (Nov 2024)
- Ethereum Roadmap & Beamchain - Justin Drake at Bankless Summit (Nov 2024)
- Deep Dive into Ethereum's Beam Chain - Justin Drake with The Defiant (Nov 2024)
- Proposing to rewrite the consensus layer instead of applying incremental upgrades
- Rationales
- Small incremental upgrades are only applicable to certain types of changes and not the others
- Governance batching optimization: research, spec writing, EIP proposal, prioritization, testing → Batch everything to a single fork so we only go through the process once (the process will be longer per the one fork but more concentrated effort)
- Avoid existing technical debts
- Comparison to The Merge
- Similarity: It’s a big change lumped together and requires a large fork
- Difference: The Merge introduced a new set of consensus participants (from PoW miners to PoS stakers) so the two chains need to be merged. The beam chain will not change the set of consensus participants. We’ll just choose a slot number and do the change of rules at that slot number.
- 9 items in Vitalik’s roadmap, 4-5 can be done incrementally, the rest are big ticket items that are hard to do incrementally and more suited to be done from scratch. Proposing 2 parallel R&D tracks:
- Beacon chain tracks - Implement incremental changes to the Beacon Chain
- Block production:
- (1) censorship resistance (FOCIL)
- (2) isolated validators
- Staking:
- (3) Smarter issuance
- (4) Smaller validators
- Cryptography:
- (5) Strong randomness
- Block production:
- Beam chain tracks - Develop the Beam Chain for the next 3-4 years and transition to it in a single hard fork
- Block production: (1) Faster slots (4 seconds)
- Staking: (2) Faster finality
- Cryptography:
- (3) Chain snarkification
- Generate a real-time, Snark proof for each and every block
- Required changes: hash function, signature scheme, serialization, merklelization
- (4) Quantum security
- Replacing BLS signature
- (3) Chain snarkification
- What it could enable
- Native Rollups - Once the EVM is snarkified, we can expose a precompile that allows anyone to deploy an exact and as many copy of the EVM as an L2/rollup as possible, allowing horizontal scaling with customizations e.g. roll their own fee token, their own governance mechanism, their own sequencer, etc.
- Arbitrum and Optimism tries to be EVM-equivalent but it’s hard (keeping track of L1 changes can cause bugs, non-equivalent properties, keeping track of the L1 EVM changes). With precompiles of the L1 they can fully inherit the security of L1 and remove the governance required for upgrades.
- Native Rollups - Once the EVM is snarkified, we can expose a precompile that allows anyone to deploy an exact and as many copy of the EVM as an L2/rollup as possible, allowing horizontal scaling with customizations e.g. roll their own fee token, their own governance mechanism, their own sequencer, etc.
- To complete the roadmap in 4-5 years so Ethereum can go into maintenance mode and start thinking about ossification like Bitcoin.
- Beacon chain tracks - Implement incremental changes to the Beacon Chain
- Ethereum’s Three Front War - Bankless Podcast with Justin Drake (Dec 2024)
- 50:17 “The beam chain upgrade is trying to take the slowest parts of the roadmap and accelerate them so that we can complete the full Ethereum roadmap in a timely fashion.”
- 50:55 “You can think of it as an invitation to think strategically about the Ethereum roadmap, widen the discourse and overturn window. To discuss the opportunity and necessity to do an ambitious upgrade, embrace ZK technology, reject technical debt, and optimize approach to Ethereum governance.”
- 53:32 “One of my fears is that Ethereum ossifies prematurely not because there is a lack of good research ideas or a lack of collective desire to innovate, but because of a lack of ability to coordinate fast enough to match the ambition of the roadmap as well as the rapid growth of the ecosystem.”
- 56:32 “To a very large extent, what the consensus layer upgrades are all about is maximizing the viability of being a solo validator. 3 memes, altogether to be the renaissance of solo validating.
- Zen Staking - Stakers become only responsible for attestations
- Fish Staking - Reduce minimum staking amount (after increasing Max EB)
- Fiverr Staking - Snarkify everything so you can validate on a smart watch
- 1:12:13 On rollups
- “If you consume settlement, we say that you are an L2.”
- “If you consume DA, we say that you are a rollup.”
- “If you consume the sequencing, we say that you’re based.”
- “If you consume the virtual machine, we say that you are native.”
- “If you do all these things, i.e. you are a based, native, and a rollup, then you are an ultrasound rollup, you are the maximally aligned thing possible. But it’s up to you how determined you want to be aligned with Ethereum.”
- Beam chain tldr - Devcon SEA Community-Led Session: Ethereum Magicians Infinite Endgames - Ethereum Execution
- "It's about doing a merge again / replacing the consensus layer, redesign everything with inclusion lists, make everything quantum secure, a fresh start. Get rid of Beacon Chain and replace with everything we learned from Beacon." - Guillaume
- "Continual improvement is really a governance question and a decentralized governance problem. As an ecosystem we've gotten more conservative, need a big change, and Beam has the potential to be a significant change." - Guillaume
- "ZK is a big part of the beam change and increased dependency on EL to have zk. The Beam change is about ZK. Also single slot and faster finality" - Alexi
- "faster finality would be nice to have, this is a great usability change, francesco (EF) doing lots of work on this" - Guillaume
- "This is probably my number 1 concern. There are two classes of big projects: things we know how to do but are difficult given the legacy environment and things we don't know how to do yet. Beam chain contains both of these. There are things we can change but are very difficult to do while the airplane is in the air. Need full confidence before we can ship." - lightclient
- Bundling too many things, however, has problematic characteristics… - Péter Szilágyi (Nov 2024)
- Proving multi-client Beam chain - mratsim (Nov 2024)
-
Isn't the beam chain roadmap compatible or something existing client teams (Lighthouse, Prysm, Nimbus, etc.) naturally will adopt anyway?
The plan is definitely for existing teams to write beam clients :)
-
Are you seeing new client teams tackling the beam chain in new ways and how?
The new client teams will add diversity (e.g. jurisdictional, financial, and language diversity) as well as add fresh blood and dynamism. I'm also hoping that the beam fork is the last significant L1 upgrade and that the new client teams can help Ethereum enter maintenance mode.
-
Is it necessary to comply with the current consensus spec?
Nope! Having said that, a bunch of ancillary infrastructure will be reused (e.g. libp2p, ssz, pyspec) - Justin Drake
-
Can we assume that Beam will use the state from a specific future block as its genesis block and proceed from there?
Yes, you can assume that :) Existing clients may want to provide support from the beacon history.
-
Would it be reasonable for us to focus on building components of the Beam client that are unlikely to be affected by the spec? Does this align with your vision?
Yes, potentially! In Q1 and Q2 I'll be working on a proof-of-concept design for the gossip and aggregation of post-quantum signatures. This may involve moving away from gossipsub and it would be good to have early p2p implementations in Q3 or Q4. I also expect some devs to start tinkering with zkVMs like RISC0 and SP1.
A potential way to keep devs engaged in 2025 may be to have monthly study clubs where we go through key beam concepts. Another idea is to organise a beam retreat where researchers and devs spend several days together. There will probably also "beam days" around big conferences like EthCC and Devconnect.
-
Looking at the strawman timeline, it seems to me like all are beacon chain-worthy and only the "beam fork" is beam-specific?
This is how I see the separation of concerns. The incremental stuff (FOCIL, execution auctions, stake capping, Orbit) is done as part of the beacon chain. The rest is pushed to the beam chain.
-
Winternitz OTS as a post-quantum signature candidate
We're specifically looking at Winternitz right now. They are simple, small, efficient. And for Ethereum attestations it's OK for the signatures to be stateful because the messages being signed are indexed by the slot number. (A validator should not accidentally sign two messages with the same slot number because they would get slashed anyway.)
Rust library: https://github.com/AtropineTears/Winternitz-OTS