glacislabs / v1-core

Core smart contracts of Glacis v1
Apache License 2.0
7 stars 1 forks source link

Retry on destination chain after quorum changes #15

Closed jboetticher closed 1 month ago

jboetticher commented 2 months ago

Consider the following scenario:

  1. Quorum for a client is set to 3
  2. 2 messages have been set, but the third never arrives.
  3. The client sets quorum to 2

Without adding an additional adapter, how do you execute the message that has already arrived? The quorum is now satisfied, but there is no execution.

The best solution is likely going to create some sort of retryDestinationExecution function that allows you to include a payload & messageID that retries executing the message at its current quorum.

jboetticher commented 1 month ago

Being addressed in https://github.com/glacislabs/v1-core/pull/20