N
session.currentIndex()
to take note of the session that this extrinsic was executed in.session.setKeys
does not have an immediate effect and requires two full sessions to elapse before it does. If you do switch off Node A too early you may risk being removed from the active set.N+3
Verify that Node A has changed the authority to Node B by inspecting its log with messages like the ones below: