mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 11:07:56 +00:00
3320076f8a
In the cases where a reorg happens we might receive notifications for different blocks at the same level, so instead of the chain having count new blocks it has less and that will break the tests which use this function. So, use the block number to identify that `count` blocks have been built in the chain. Examples where this issue was hit: https://github.com/paritytech/polkadot/issues/7267 Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>