Code Monkey home page Code Monkey logo

Comments (7)

adschwartz avatar adschwartz commented on May 30, 2024

I was able to reproduce this error, continuing to look into it.

from ethereum-package.

barnabasbusa avatar barnabasbusa commented on May 30, 2024

Its probably this line that needs adjusting, to use the count also: https://github.com/kurtosis-tech/eth2-package/blob/main/src/package_io/parse_input.star#L104

from ethereum-package.

adschwartz avatar adschwartz commented on May 30, 2024

@barnabasbusa I'm not sure what you mean about it shoud use the count as well? As I see it the immediate issue looks to be that slots_per_epoch is set to 32. Would it make sense to lower it? When I do it seems to run. But not sure what the best value is.

from ethereum-package.

barnabasbusa avatar barnabasbusa commented on May 30, 2024

this has nothing to do with slots_per_epoch. The count is a new participant parameter that can be configured.
Its basically requests that many sets of client pairs of a certain kind.
For example, it will create

teku-geth-01
teku-geth-02
...
teku-geth-10
lighthouse-geth-01
...

...
But instead it assumes that there is one occurrence of each, and thus, actual_num_validators is 5x10 = 50. (which is no longer the correct way to calculate how many validators there are actually)

from ethereum-package.

adschwartz avatar adschwartz commented on May 30, 2024

@barnabasbusa Got it! What would be the correct way?

Would it be summing up the counts in the array? If so, I can make that change.

from ethereum-package.

barnabasbusa avatar barnabasbusa commented on May 30, 2024

sum of all counts (default to 1 if count is not present) * num_validator_keys_per_node

from ethereum-package.

adschwartz avatar adschwartz commented on May 30, 2024

@barnabasbusa made a PR. I was unable to test it with count=10 for each participant as my laptop just doesn't have enough memory. But ran it with count=2 and it seems to be working. Let me know if you have any issues!

from ethereum-package.

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.