Skip to content
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

Add different estimate rules for protocols w/ non-deterministic estimates #171

Open
naterush opened this issue Feb 23, 2018 · 1 comment

Comments

@naterush
Copy link
Collaborator

naterush commented Feb 23, 2018

Issue

Currently, some protocols allow validators to make (random) decisions when creating a new estimate. For example, see here or here.

This limits how well we can test these protocols, as we can't assert very specific things as non-deterministic choices are made. Ideally, there would be deterministic versions of all of these rules.

Proposed Implementation

Add necessary functions so all estimate functions can be deterministic if we want. For example, we should be able to specify what outputs validators build off of in the concurrent schedule in a testing language (e.g. pick the greatest one), or which shards to build on (e.g. always just build on this one shard).

Organizing these rules in some file other than the view may make sense as well.

@djrtwo
Copy link
Collaborator

djrtwo commented Mar 5, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants