-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
encrypted state must contain the hash of last request #36
Milestone
Comments
this is actually missing in #61 |
this should go hand in hand with introducing versioned state. Intoduce an enum type that specifies the state version like for substrate metadata. The versioned type then includes
|
connected to #38 |
since a newly joining worker can now re-sync from ChainRelay directly, this is not necessary anymore |
brenzi
pushed a commit
that referenced
this issue
Dec 12, 2020
* Implement `TrustedGetter::meetup_registry(AccountId, CurrencyIdentifier)` Fixes #34 * Reduce `TrustedGetter::meetup_index_and_location` to `TrustedGetter::meetup_index`. Fixes #35 * Rename `TrustedGetter::registration` -> `TrustedGetter::participant_index`. Fixes #36 Successfully run botscript. The new `TrustedGetter::meetup_registry` has only been tested weakly from EncointerWallet js side, such that should return an empty registry.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In order for a newly joining worker to know where to catch up after synching with a previous worker (#35), we should write the hash of the request that caused this state update to the state itself. This way, the joining worker can scan past events for this request and catch up.
The text was updated successfully, but these errors were encountered: