dedis / cothority

Scalable collective authority
Other
426 stars 106 forks source link

Time-invariant event log #2382

Closed pierluca closed 3 years ago

pierluca commented 4 years ago

This pull requests deals with #2376 and adds a few documentation fixes. It makes the event log contract time-invariant by referring exclusively to the current block timestamp rather than time.Now()

I'm still looking into the unit-tests.

🙅‍ Friendly checklist:

ineiti commented 4 years ago

Draft-comments: I started doing 2 separate PRs for separating:

pierluca commented 4 years ago

I'm waiting for Travis to work, based on : https://github.com/dedis/cothority/pull/2383 and https://github.com/dedis/cothority/issues/2367

ineiti commented 4 years ago

You can rebase to master, the updates to the testing framework should make it work more reliable now. And if new tests fail, it'll be easier to make them pass...

ineiti commented 4 years ago

In fact the latest travis test failed because of an error in coveralls...

ineiti commented 4 years ago

@pierluca bumping this, as the byzcoin.BCTest is now in master and produces quite stable tests.

pierluca commented 4 years ago

Thanks for the information @ineiti. I'm committed to seeing this through, but it's not my # 1 priority right now. I'll come back to this as soon as I can find some spare time.

ineiti commented 3 years ago

Is this something you think working on, or should it be closed? You might want to delegate it ;)

pierluca commented 3 years ago

Considering Cothority is reaching C4DT support's end-of-life in April 2022 and that this feature is not currently used by any production system, I'm closing this PR. I'd be happy to pick it up again later should it become relevant / a priority.