Files
prysm/beacon-chain/sync
terence 096cba5b2d sync: fix KZG batch verifier deadlock on timeout (#16141)
`validateWithKzgBatchVerifier` could timeout (12s) and once it times out
because `resChan` is unbuffered, the verifier will stuck at following
line at `verifyKzgBatch` as its waiting for someone to grab the result
from `resChan`:
```
	for _, verifier := range kzgBatch {
		verifier.resChan <- verificationErr
	}
```
Fix is to make kzg batch verification non blocking on timeouts by
buffering each request’s buffered size 1
2025-12-12 17:17:40 +00:00
..
2025-12-02 15:19:32 +00:00
2025-11-28 14:34:02 +00:00
2025-11-06 16:16:23 +00:00
2025-11-06 16:16:23 +00:00
2025-11-06 16:16:23 +00:00
2025-11-06 16:16:23 +00:00
2019-08-16 13:13:04 -04:00
2025-11-06 16:16:23 +00:00
2025-11-06 16:16:23 +00:00
2019-08-16 13:13:04 -04:00
2025-11-06 16:16:23 +00:00
2025-11-06 16:16:23 +00:00
2025-11-06 16:16:23 +00:00
2025-11-06 16:16:23 +00:00
2025-11-06 16:16:23 +00:00