You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a corner case that could cause the chain having dirty data:
If an attestor get disconnected from chain, and not going to come back, the geode that it was attesting will remain in Registered state forever, and no one would be responsible for checking the liveness of that geode to ensure it's in proper status.
Thus here are some TODOs for eliminate this corner case:
Attestor should maintain a way of informing the chain about its status periodically, if it failed to do so in a timeout, the chain should mark it as an offline attestor.
As geode needs to be attested by a certain amount of attestors to get its state changed into attested(currently the amount is 1), while attestor could be offline at any moment, the geode needs a way to keep themselves aware of the situation on chain, and try to find new attestor as soon as possible to meet required number of attestors, otherwise it could be marked as degraded, or even worse: if no attestor is attesting it, will be marked as unknown.
While it's true that geode can poll the chain to gets the information from chain, it would definitely be more ideal if the Geode can subscribe the Event emitted from the chain.
The text was updated successfully, but these errors were encountered:
There is a corner case that could cause the chain having dirty data:
If an attestor get disconnected from chain, and not going to come back, the geode that it was attesting will remain in
Registered
state forever, and no one would be responsible for checking the liveness of that geode to ensure it's in proper status.Thus here are some TODOs for eliminate this corner case:
The text was updated successfully, but these errors were encountered: