cmd/devp2p: add eth protocol test suite (#21598)
This change adds a test framework for the "eth" protocol and some basic tests. The tests can be run using the './devp2p rlpx eth-test' command.
Showing
- cmd/devp2p/internal/ethtest/chain.go 113 additions, 0 deletionscmd/devp2p/internal/ethtest/chain.go
- cmd/devp2p/internal/ethtest/suite.go 337 additions, 0 deletionscmd/devp2p/internal/ethtest/suite.go
- cmd/devp2p/internal/ethtest/types.go 134 additions, 0 deletionscmd/devp2p/internal/ethtest/types.go
- cmd/devp2p/main.go 1 addition, 1 deletioncmd/devp2p/main.go
- cmd/devp2p/rlpxcmd.go 33 additions, 18 deletionscmd/devp2p/rlpxcmd.go
- core/forkid/forkid.go 2 additions, 13 deletionscore/forkid/forkid.go
- core/forkid/forkid_test.go 1 addition, 1 deletioncore/forkid/forkid_test.go
- eth/discovery.go 2 additions, 1 deletioneth/discovery.go
- eth/handler.go 2 additions, 1 deletioneth/handler.go
- eth/helper_test.go 2 additions, 1 deletioneth/helper_test.go
- eth/protocol_test.go 1 addition, 1 deletioneth/protocol_test.go
Loading
Please register or sign in to comment