palomachain / paloma

The fast blockchain messenger protocol
Apache License 2.0
291 stars 135 forks source link

fix: prevent stuck SLCs waiting for valset #1274

Closed maharifu closed 2 months ago

maharifu commented 3 months ago

Related Github tickets

Background

If a JIT ValsetUpdate fails, it can lead to SLC messages being stuck. In order to overcome this, we set a watcher on the end blocker to insert new ValsetUpdates when needed if there is an SLC message in the queue (or UploadUserSmartContract message).

Testing completed

Breaking changes