Skip to content

devp2p rlpx eth-test TestBlobTxWithoutSidecar gets stuck #32422

@flcl42

Description

@flcl42

System information

Geth version: master
CL client & version: no CL
OS & Version: Windows/Linux
Commit hash : 701df4b

Expected behaviour

https://github.com/ethereum/go-ethereum/blob/master/cmd/devp2p/internal/ethtest/suite.go#L1136 fails on timeout

Actual behaviour

In case of not getting expected message it's blocked forever. It timeouts when replaced with

	done := make(chan struct{})
	go func() {
		req, err = readUntil[eth.GetPooledTransactionsPacket](context.Background(), conn)
		close(done)
	}()

	select {
	case <-done:
	case <-time.After(5 * time.Second):
		errc <- fmt.Errorf("timeout waiting for pooled tx request")
		return
	}

but I'm not sure how to set this timeout properly. It's not triggered when the test passes

Steps to reproduce the behaviour

Run .\devp2p.exe rlpx eth-test -node ... -engineapi http://127.0.0.1:8551 -chain ... --run TestBlobTxWithoutSidecar against Nethermind or any node that does not send GetPooledTransactionsPacket in response to a NewPooledTransactionHashesPacket

Backtrace

No logs

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions