Etherlink/Kernel/Stage 2: don't read current block number in promote
Checklist
-
Provide automatic testing. -
Add an item in the changelog
What
In block::promote, use the block number passed as argument instead of re-reading it from the storage.
Why
To save an IO.