Summary
This is related to the malformed-config issue (link to be added). If config 14 is invalid and config 15 is accepted next, shuttermint would start eon 14 for keyperConfigIndex 15.
Some code appears to assume eon == keyperConfigIndex, for example: https://github.com/shutter-network/rolling-shutter/blob/main/rolling-shutter/keyperimpl/shutterservice/handlers.go#L40
Impact
A malformed intermediate config can force eon != keyper / config index, and it is currently unclear whether the system should support that state or how recovery should work.
Expected behavior
We should define what to do when eon and keyperConfigIndex become misaligned, especially as a follow-up to the malformed-config issue.
Summary
This is related to the malformed-config issue (link to be added). If config 14 is invalid and config 15 is accepted next, shuttermint would start eon 14 for keyperConfigIndex 15.
Some code appears to assume eon == keyperConfigIndex, for example: https://github.com/shutter-network/rolling-shutter/blob/main/rolling-shutter/keyperimpl/shutterservice/handlers.go#L40
Impact
A malformed intermediate config can force eon != keyper / config index, and it is currently unclear whether the system should support that state or how recovery should work.
Expected behavior
We should define what to do when eon and keyperConfigIndex become misaligned, especially as a follow-up to the malformed-config issue.