openethereum / parity-ethereum

The fast, light, and robust client for Ethereum-like networks.
Other
6.81k stars 1.68k forks source link

Update AuRa `check_future` ; handling step transitions #11896

Open ngotchac opened 3 years ago

ngotchac commented 3 years ago

Fixes #11895

This PR enables handling step duration in AuRa engine when a block is seen as from the future (the node panics without this).

I'm not 100% convinced on the .ok_or(None)? but I couldn't figure out a better way.