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 was archived by the owner on Jun 21, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 21, 2023. It is now read-only.
fix event sequence issues between user_solution_commit and provider_approve #134
In short, a user submits a commitment to the contract and the provider and awaits the provider to approve or disapprove. However, between these two events (submit and approve/disapprove) there can be many other events occur which can disrupt the captcha process overall. For instance, after a user submits but before an approve/disapprove from a provider, the following could occur:
provider deregister/unstake
provider suspended
provider payee change
provider fee change
provider balance changes below
provider service_origin change
provider dataset id / content id change
dapp deregisters
dapp becomes non-active
dapp balance goes below threshold (stake_default)
dapp owner change
dapp client_origin change
governance status for the contract changed, e.g. suspended
etc
We need to consider these occurrences during the captcha process, and adjust the contract to handle any of these occurrences.
Activity
goastler commentedon Feb 14, 2023
In short, a user submits a commitment to the contract and the provider and awaits the provider to approve or disapprove. However, between these two events (submit and approve/disapprove) there can be many other events occur which can disrupt the captcha process overall. For instance, after a user submits but before an approve/disapprove from a provider, the following could occur:
etc
We need to consider these occurrences during the captcha process, and adjust the contract to handle any of these occurrences.
goastler commentedon Feb 16, 2023
deregister of provider needs to be changed to a request basis