Skip to content

Define behavior when eon is different that the keyper / config index #682

@ylembachar

Description

@ylembachar

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.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions