We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c63e349 commit 1675790Copy full SHA for 1675790
eth/api.go
@@ -369,6 +369,8 @@ func generateWitness(blockchain *core.BlockChain, block *types.Block) (*stateles
369
return nil, fmt.Errorf("failed to validate block %d: %w", block.Number(), err)
370
}
371
372
+ // FIXME: testWitness will fail from time to time, the problem is caused by occasional state root mismatch
373
+ // after processing the block based on witness. We need to investigate the root cause and fix it.
374
for retries := 0; retries < 5; retries++ {
375
if err = testWitness(blockchain, block, witness); err == nil {
376
return witness, nil
0 commit comments