Chain halts after runtime upgrade | Getting Ignoring empty epoch change.
Error with block built on
#5064
Closed
2 tasks done
Labels
I2-bug
The node fails to follow expected behavior.
I10-unconfirmed
Issue might be valid, but it's not yet known.
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
I have a solo chain using Babe consensus. In my new branch, I implemented
OneSessionHandler
in one of my pallets. I am using this to collect active validators.It's working fine if I run chain with my new branch. But if I do runtime upgrade on main branch, I started getting below error when new session changes:
After above error, chain stops producing blocks.
Here is my
OneSessionHandler
implementation:I also added corresponding changes in runtime.
I haven't made any change related to epoch. Also if I remove last key from above
SessionKeys
, then it works fine but it does not callon_new_session
method ofOneSessionHandler
.Can somebody please help to fix this?
Steps to reproduce
No response
The text was updated successfully, but these errors were encountered: