Skip to content

Conversation

@hbarcelos
Copy link
Contributor

Motivation

Currently there is a problem to identify exactly when a task is marked as resolved.

So far I identified the following use case:

  • When displaying resolved tasks in the UI, we should sort them by descending completion date to give a feel of 'liveness'.

There are probably more though.

Risk Analysis

Regarding the risks introduced by such changes: all methods that perform some sort of verification on lastInteraction:

All of them:

  • Have an additional status guard.
  • Change status if all conditions are met. This means other transactions that depend on the previous lastInteraction would not be allowed anyway.

Cost Analysis

Marginal cost for this change would be as high as 20,000 gas (SSTORE gas spending according to this).

@hbarcelos
Copy link
Contributor Author

Withdrawing in favor of #310.

@hbarcelos hbarcelos closed this Apr 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants