ethereum-optimism / ethereum-optimism/optimism
op-node: Better testing for P2P block gossiping validation function
Open
A-op-node
- Dominant language
- Go
- Stars
- 6.5k
- Forks
- 4k
- Avg merge
- 2d 38m
- Merged PRs (30d)
- 164
Description
This test is what needs to be updated: https://github.com/ethereum-optimism/optimism/blob/6cce3728b7bed5e36234aeba3b773e0f97867be3/op-node/p2p/gossip_test.go#L123.
Right now we only have tests for a small subset of the block validation conditions. We should extend this to test for of the conditions. We may also want to split out the portions which are P2P specific and which are payload specific.
Contributor guide
Assessment
This issue has not been assessed yet.