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

ValidatorSet.Intersect index out of range #7

Closed
guidovranken opened this issue May 21, 2019 · 1 comment
Closed

ValidatorSet.Intersect index out of range #7

guidovranken opened this issue May 21, 2019 · 1 comment

Comments

@guidovranken
Copy link

package main

import "github.com/protolambda/zrnt/eth2/core"

func main() {
    var vs1 core.ValidatorSet
    var vs2 core.ValidatorSet
    vs1 = append(vs1, 4019120956461496119)
    vs2 = append(vs2, 3978709506094217015)
    vs1.Intersects(vs2)
}
@protolambda
Copy link
Owner

This was fixed a while ago iirc (fixes checked with poc tests). Will add some tests into the repo after the upcoming CI + test-coverage merge (repo-tooling branch).

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

No branches or pull requests

2 participants