ethereum-consensus
ethereum-consensus copied to clipboard
add `Fork::Electra` variant to `Fork` enum.
easier for consumers of this repo's crates to just set a cargo feature otherwise, it has to manually be specified in the source code see https://github.com/ralexstokes/mev-rs/pull/228 for an example
It could be nice to have a way to broadcast clock events (new slot, new epoch) similar to [how we stream slots](https://github.com/ralexstokes/ethereum-consensus/blob/606d1ce584757c92ee93000315a9de1ef42c8495/ethereum-consensus/src/clock.rs#L242). I have this example handy so I'll link...
Here are some of the core parts, with the notable exception of EIP-7251. And there are some semi-minor changes on the way to this as well: https://github.com/ethereum/consensus-specs/blob/d35b4091fb34339517ae5c7bce9a786298954b79/specs/electra/beacon-chain.md
There are parts of the `consensus-specs` this repo currently does not support. A notable chunk are the networking specs, but support is only in place on an as-needed basis. There...
This repo uses const generics to implement "presets" from the `consensus-specs`. However, there are many of them making the code hard to read, extend, and maintain. Here's a sample refactoring...
The state transition is quite slow, e.g. as evidenced by the time it takes to run the spec tests. Some obvious low-hanging fruit: - [x] #348 - [ ] #349...