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

Error on duties calculation on low amount of validators setup #1334

Open
rodrigo-o opened this issue Oct 17, 2024 · 0 comments
Open

Error on duties calculation on low amount of validators setup #1334

rodrigo-o opened this issue Oct 17, 2024 · 0 comments
Labels
bug Something isn't working P0 This should be tackled NOW as in TODAY

Comments

@rodrigo-o
Copy link
Collaborator

This issues happens when we have a small amount of validators in the setup (<10), this is important because this is the most common scenario.

Here are the logs:

shutdown: failed to start child: LambdaEthereumConsensus.Beacon.BeaconNode
      ** (EXIT) an exception was raised:
          ** (ArgumentError) errors were found at the given arguments:
  
    * 1st argument: the table identifier does not refer to an existing ETS table
  
              (stdlib 5.2.3) :ets.member(:beacon_committee, {0, {0, <<0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0>>}})
              (lambda_ethereum_consensus 0.1.0) lib/lambda_ethereum_consensus/state_transition/cache.ex:87: LambdaEthereumConsensus.StateTransition.Cache.present?/2
              (lambda_ethereum_consensus 0.1.0) lib/lambda_ethereum_consensus/state_transition/accessors.ex:381: LambdaEthereumConsensus.StateTransition.Accessors.maybe_prefetch_committees/2
              (lambda_ethereum_consensus 0.1.0) lib/lambda_ethereum_consensus/validator/duties.ex:93: anonymous fn/4 in LambdaEthereumConsensus.Validator.Duties.compute_duties_for_epochs/4
              (elixir 1.16.2) lib/enum.ex:2528: Enum."-reduce/3-lists^foldl/2-0-"/3
              (lambda_ethereum_consensus 0.1.0) lib/lambda_ethereum_consensus/validator/validator_set.ex:191: LambdaEthereumConsensus.ValidatorSet.compute_duties/4
              (lambda_ethereum_consensus 0.1.0) lib/lambda_ethereum_consensus/beacon/beacon_node.ex:30: LambdaEthereumConsensus.Beacon.BeaconNode.init/1
              (stdlib 5.2.3) supervisor.erl:330: :supervisor.init/1 
  ** (exit) :terminating
      (kernel 9.2.4) application_controller.erl:505: :application_controller.call/2
      (kernel 9.2.4) application.erl:155: :application."-ensure_all_started/3-lc$^0/1-0-"/1
      (kernel 9.2.4) application.erl:155: :application.ensure_all_started/3
      (mix 1.16.2) lib/mix/tasks/app.start.ex:72: Mix.Tasks.App.Start.start/3
      (mix 1.16.2) lib/mix/task.ex:478: anonymous fn/3 in Mix.Task.run_task/5
      (mix 1.16.2) lib/mix/tasks/run.ex:129: Mix.Tasks.Run.run/5
      (mix 1.16.2) lib/mix/tasks/run.ex:85: Mix.Tasks.Run.run/1
      (mix 1.16.2) lib/mix/task.ex:478: anonymous fn/3 in Mix.Task.run_task/5
@rodrigo-o rodrigo-o added bug Something isn't working P0 This should be tackled NOW as in TODAY labels Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P0 This should be tackled NOW as in TODAY
Projects
Status: No status
Development

No branches or pull requests

1 participant