shutter-network / rolling-shutter

Rolling Shutter is an MEV protection system to be plugged into rollups.
https://twitter.com/project_shutter/
28 stars 9 forks source link

Avoid crash when sending from inactive keyper #473

Closed konradkonrad closed 3 months ago

konradkonrad commented 3 months ago

Previously keypers would crash, when trying to send a batch config to shuttermint ahead of time, with the crash log

Error: remote error: checktx: not a keyper set member
remote error: checktx: not a keyper set member

With these changes, keypers will

a) check, if they are known to shuttermint, and therefore allowed to send messages.

b) keep messages that failed to send in the outgoing message queue.

This fixes #465