Skip to content

Commit 75501d5

Browse files
committed
Merge branch 'validator-state-management-refactor' into sync-committee-message-production
2 parents eab7a05 + 666ff39 commit 75501d5

File tree

10 files changed

+527
-566
lines changed

10 files changed

+527
-566
lines changed

.iex.exs

Whitespace-only changes.

config/runtime.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ if keystore_pass_dir != nil and not File.dir?(keystore_pass_dir) do
185185
System.halt(2)
186186
end
187187

188-
config :lambda_ethereum_consensus, LambdaEthereumConsensus.Validator.Setup,
188+
config :lambda_ethereum_consensus, LambdaEthereumConsensus.ValidatorSet,
189189
keystore_dir: keystore_dir,
190190
keystore_pass_dir: keystore_pass_dir
191191

lib/lambda_ethereum_consensus/beacon/beacon_node.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ defmodule LambdaEthereumConsensus.Beacon.BeaconNode do
88
alias LambdaEthereumConsensus.ForkChoice
99
alias LambdaEthereumConsensus.StateTransition.Cache
1010
alias LambdaEthereumConsensus.Store.BlockStates
11-
alias LambdaEthereumConsensus.Validator
11+
alias LambdaEthereumConsensus.ValidatorSet
1212
alias Types.BeaconState
1313

1414
def start_link(opts) do
@@ -27,13 +27,13 @@ defmodule LambdaEthereumConsensus.Beacon.BeaconNode do
2727

2828
store = ForkChoice.init_store(store, time)
2929

30-
validators = Validator.Setup.init(store.head_slot, store.head_root)
30+
validator_set = ValidatorSet.init(store.head_slot, store.head_root)
3131

3232
StoreSetup.get_deposit_snapshot!()
3333
|> init_execution_chain(store.head_root)
3434

3535
libp2p_args =
36-
[genesis_time: store.genesis_time, validators: validators, store: store] ++
36+
[genesis_time: store.genesis_time, validator_set: validator_set, store: store] ++
3737
get_libp2p_args()
3838

3939
children =

0 commit comments

Comments
 (0)