go-ethereum/cmd/devp2p/internal/ethtest
Marcin Sobczak d11e9c0b51
cmd/devp2p/internal/ethtest: remove TD from status validation (#31137)
After recent changes in Geth (removing TD):

39638c81c5 (diff-d70a44d4b7a0e84fe9dcca25d368f626ae6c9bc0b8fe9690074ba92d298bcc0d)

Non-Geth clients are failing many devp2p tests with an error:
`peering failed: status exchange failed: wrong TD in status: have 1 want 0`

Right now only Geth is passing it - all other clients are affected by
this change. I think there should be no validation of TD when checking `Status`
message in hive tests. Now Geth has 0 (and hive tests requires 0) and
all other clients have actual TD. And on real networks there is no validation
of TD when peering
2025-02-07 09:59:12 +08:00
..
testdata params,core: add max and target value to chain config (#31002) 2025-02-04 15:43:18 +01:00
chain.go all: nuke total difficulty (#30744) 2025-01-28 18:55:41 +01:00
chain_test.go cmd/devp2p: update eth/snap protocol test suites for PoS (#28340) 2023-12-20 17:23:48 +01:00
conn.go cmd/devp2p/internal/ethtest: remove TD from status validation (#31137) 2025-02-07 09:59:12 +08:00
engine.go cmd: use package filepath over path for file system operations (#29227) 2024-03-12 10:00:34 +01:00
mkchain.sh cmd/devp2p: update eth/snap protocol test suites for PoS (#28340) 2023-12-20 17:23:48 +01:00
protocol.go all: fix some typos in comments and names (#31023) 2025-01-14 14:16:15 +01:00
snap.go build: update to golangci-lint 1.61.0 (#30587) 2024-10-14 19:25:22 +02:00
suite.go params,core: add max and target value to chain config (#31002) 2025-02-04 15:43:18 +01:00
suite_test.go all: simplify tests using t.TempDir() (#30150) 2024-07-15 15:26:58 +02:00
transaction.go all: replace fmt.Errorf() with errors.New() if no param required (#29472) 2024-04-08 12:59:17 +02:00