-
Notifications
You must be signed in to change notification settings - Fork 998
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
Interop tests #1411
Interop tests #1411
Conversation
@protolambda Can you take a look at these soon? |
Updated some use of the test util code for attestations. And parked a new test for crosslink data-root tie-breaking on a branch: |
Documenting another two edge-cases in tiebreaking of crosslinks from interop, but unsure about reproduction in a test for now: I:
Would it be a good idea to change the spec to tie-break more explicitly on insertion order? II:
For II, an optimized version (zrnt...) may OR the attestations into a minimal bitfield per crosslink to rank, and then not have to aggregate at the end or repeatedly when computing the weights (sum of effective balance of unique attesters) for ranking. Having a test with multiple attestations, same crosslink, and overlapping participation may be valuable. |
Looks good, cleaned up some minor things for attestation signing. And went through a few more edge cases, but need to decide on what to include in release (do we write out more edge-cases?), and continue on the testing tool (I prefer to focus on catching more things, and then write more tests later again). |
Checked it out. Looks good. Ready to merge this. Going to prepare a release. May or may not get to some of the other tests before release |
Increase test coverage to address some of the holes found at interop
https://github.com/djrtwo/interop-test-cases
Also:
Note:
Could either continue deeper into the rewards tests right here or just get it merged for release. Open to discussion