futureversecom / trn-seed

Implementation of The Root Network node in Rust, based on the Substrate framework.
https://www.therootnetwork.com
Apache License 2.0
17 stars 5 forks source link

Ethy NotaryKeys does not update when forced era #865

Open surangap opened 2 months ago

surangap commented 2 months ago

behavior

RCA StakingSessionTracker returns the correct outputs, but if the validator becomes active at the start of the S2/ end of the S1, it would return is_active_session_final() false, which is correct. But the emergency notary keys rotation code path is within is_active_session_final scope. so it would not trigger.

notary_keys would be updated at the next natural era change

surangap commented 2 months ago

Code paths also confirmed on a local setup