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
{{ message }}
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.
I had run two oracles, one is old oracle and the other oracle is the new oracle.
When an event occurs, both oracles subscribe at the same time.
And at the same time execute the transaction.
Two transactions are received in blockChain at the same time.
Resultly, One transaction is success, another transaction is failed.
The failed reason is account sequence mismatched.
Implement
When oracle starts, it gets the active uniqueID from the blockchain and compares one's own uniqueID.
If two uniqueID match, Oracle starts subscribing to the vote event.
Is not matched, Oracle doesn't subscribe to the vote event.
In both case, It does subscribed OracleUpgradeEvent.
And when Oracle receives OracleUpgradeEvent, it compares one's own UniqueID.
If two uniqueID match, Oracle starts subscribing to the vote event.
Is not matched, Oracle stopping subscribe to the vote event.
The text was updated successfully, but these errors were encountered:
Background
I had run two oracles, one is old oracle and the other oracle is the new oracle.
When an event occurs, both oracles subscribe at the same time.
And at the same time execute the transaction.
Two transactions are received in blockChain at the same time.
Resultly, One transaction is success, another transaction is failed.
The failed reason is
account sequence mismatched
.Implement
When oracle starts, it gets the active uniqueID from the blockchain and compares one's own uniqueID.
And when Oracle receives OracleUpgradeEvent, it compares one's own UniqueID.
The text was updated successfully, but these errors were encountered: