mirror of https://github.com/status-im/op-geth.git
9be5d5cd90
The test chain generated by makeChainFork included invalid uncle headers, crashing the generator during the state commit. The headers were invalid because they used the iteration counter as the block number, even though makeChainFork uses a block with number > 0 as the parent. Fix this by introducing BlockGen.Number, which allows accessing the actual number of the block being generated. |
||
---|---|---|
.. | ||
api.go | ||
downloader.go | ||
downloader_test.go | ||
events.go | ||
metrics.go | ||
modes.go | ||
peer.go | ||
queue.go | ||
types.go |