11# beacon_chain
2- # Copyright (c) 2021-2024 Status Research & Development GmbH
2+ # Copyright (c) 2021-2025 Status Research & Development GmbH
33# Licensed and distributed under either of
44# * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT).
55# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0).
@@ -176,11 +176,7 @@ suite "Sync committee pool":
176176 let
177177 fork = altairFork (cfg)
178178 genesis_validators_root = eth2digest (@ [5 .byte , 6 , 7 ])
179-
180- privkey1 = MockPrivKeys [1 .ValidatorIndex ]
181- privkey2 = MockPrivKeys [2 .ValidatorIndex ]
182- privkey3 = MockPrivKeys [3 .ValidatorIndex ]
183- privkey4 = MockPrivKeys [4 .ValidatorIndex ]
179+ privkey = MockPrivKeys [1 .ValidatorIndex ]
184180
185181 bid1 = BlockId (slot: Slot (100 ), root: eth2digest (@ [1 .byte ]))
186182 bid2 = BlockId (slot: Slot (101 ), root: eth2digest (@ [1 .byte , 2 ]))
@@ -190,16 +186,15 @@ suite "Sync committee pool":
190186 subcommittee2 = SyncSubcommitteeIndex (1 )
191187
192188 sig1 = get_sync_committee_message_signature (
193- fork, genesis_validators_root, bid1.slot, bid1.root, privkey1 )
189+ fork, genesis_validators_root, bid1.slot, bid1.root, privkey )
194190 sig2 = get_sync_committee_message_signature (
195- fork, genesis_validators_root, bid2.slot, bid2.root, privkey1 )
191+ fork, genesis_validators_root, bid2.slot, bid2.root, privkey )
196192 sig3 = get_sync_committee_message_signature (
197- fork, genesis_validators_root, bid3.slot, bid3.root, privkey1 )
193+ fork, genesis_validators_root, bid3.slot, bid3.root, privkey )
198194 sig4 = get_sync_committee_message_signature (
199- fork, genesis_validators_root, bid3.slot, bid2.root, privkey1 )
195+ fork, genesis_validators_root, bid3.slot, bid2.root, privkey )
200196
201197 # Inserting sync committee messages
202- #
203198 pool.addSyncCommitteeMessage (
204199 bid1.slot, bid1, 1 , sig1, subcommittee1, @ [1 'u64 ])
205200 pool.addSyncCommitteeMessage (
0 commit comments