Code Monkey home page Code Monkey logo

Comments (4)

GalRogozinski avatar GalRogozinski commented on September 16, 2024

For duty tests we skip broadcasted consensus messages:

for _, msg := range broadcastedMsgs {
if msg.MsgType != types.SSVPartialSignatureMsgType {
continue
}

we shouldn't do that... we should test consensus messages as well imo...
Maybe it was dont this way to seperate runner from consensus, but we run consensus instance in the test

from ssv-spec.

GalRogozinski avatar GalRogozinski commented on September 16, 2024

Add ValueCheck tests

from ssv-spec.

GalRogozinski avatar GalRogozinski commented on September 16, 2024

We should test the following scenarios:

  1. With invalid_quorum_then_valid_quorum we should have byzantine test where some roots have a valid root while others don't. We need to see that a 4th message fixes the invalid ones
  2. Test with validators on different committees. We need to make sure the committee indexes are not getting mixed up after post consensus stage.
  3. We need to make sure we use proper eth domains.

Currently scenario 3 is implicitly tested because the info is in the broadcasted root (so it is good enough). For 2 we are missing the input.

from ssv-spec.

GalRogozinski avatar GalRogozinski commented on September 16, 2024

Done

from ssv-spec.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.