Omni-node: Move timestamps closer to now#10807
Conversation
|
/cmd prdoc --audience node_dev --bump patch |
…e_dev --bump patch'
bkchr
left a comment
There was a problem hiding this comment.
I find 2 hours in the past also random, but whatever :P
Co-authored-by: Iulian Barbu <14218860+iulianbarbu@users.noreply.github.com>
|
/cmd fmt |
|
All GitHub workflows were cancelled due to failure one of the required jobs. |
|
This PR introduced a DX regression for runtimes that use The problem: Before this PR,
Workaround: inject both We should work on a proper fix to make polkadot-omni-node easier to use in dev mode without requiring to tweak the genesis. |
|
My initial impression is that this should be fixed at the scheduler level. This comment already foresees this issue: Main question for me is why |
In omni-node dev-mode the timestamps where showing close to the unix epoch. Technically not a problem, but its a bit more aesthetic if they are closer to now, as requested in #10759.
I set them arbitrarily to two hours in the past so that they do not run immediately into the future.