protolambda
protolambda
This PR: - Implements testing of the RPC authentication conditions as specified by the Engine API authentication spec - Adds getters to the node to retrieve the WS and HTTP...
The `l2.ExecutionPayload` implements SSZ encoding/decoding manually, to avoid importing a large SSZ library that does much more than we need it to. For reference, the existing ssz libraries out there:...
The current discovery mechanism I implemented is not pretty, and should be improved: - It's a complicated background process that we should test in smaller pieces. - The peer-count is...
When a block is distributed by the sequencer via p2p then it can trigger a reorg or sync in the execution engine. Some quick block validation / heuristics may be...
We use Go 1.18 fuzzing for encoding/decoding tests primarily now, but this will expand and become more important once we get closer to Bedrock launch. Fuzzing should run for longer,...
At the genesis (or migration point) of the rollup, we currently configure two points: - The L1 block hash and number - The L2 block hash, number and timestamp From...
Instead of passing in an additional input argument `includeDeposits`, we can define `includeDeposits := prevL2BlockL1Origin != currentL2BlockL1Origin` See https://github.com/ethereum-optimism/optimistic-specs/blob/1b19bba839e546cbadab51b2f5570fdb4af758ec/opnode/rollup/driver/step.go#L49 The L2 genesis-block may be an edge-case, but we can return...
Go 1.18 introduces fuzzing, neatly integrated into the Go testing framework: https://tip.golang.org/doc/go1.18#fuzzing We can use it to fuzz the driver (L1 receipt -> L2 deposit). To improve fuzzing further, speccing...
Define or choose a compression algorithm. Benchmark it. Implement it. - Research - [x] #174 - See https://github.com/ethereum-optimism/optimistic-specs/issues/10 - [x] #175 - Spec updates - [ ] Update derivation to...
Enable backup Sequencer nodes to keep in sync with the Sequencer, and serve as a fallback and/or load balancing. Spec & Implement: - [ ] API to track sequencer work...