//
and comment text242 EpochsPerSyncCommitteePeriod: 256,
243
244 // Updated penalty values.
245 InactivityPenaltyQuotientAltair: 3 * 1 << 24, //50331648246 MinSlashingPenaltyQuotientAltair: 64,
247 ProportionalSlashingMultiplierAltair: 2,
248 MinSlashingPenaltyQuotientBellatrix: 32,
//
and comment text 419// Test basic functionality of ActiveValidatorIndices without caching. This test will need to be
420// rewritten when releasing some cache flag.
421func TestActiveValidatorIndices(t *testing.T) {
422 //farFutureEpoch := params.BeaconConfig().FarFutureEpoch 423 type args struct {
424 state *ethpb.BeaconState
425 epoch primitives.Epoch
//
and comment text54 err = ConfigurePersistentLogging(fmt.Sprintf("%s/%s/%s/%s", testParentDir, existingDirectory, nonExistingSubDirectory, logFileName))
55 require.NoError(t, err)
56
57 //4. Create log file in a directory without 700 permissions58 existingDirectory = "test-4-existing-testing-dir"
59 err = os.Mkdir(fmt.Sprintf("%s/%s", testParentDir, existingDirectory), 0750)
60 if err != nil {
//
and comment text 33 require.NoError(t, err)
34 return blk
35 }
36 //params.SetupTestConfigCleanupWithLock(t) 37 bc := params.BeaconConfig().Copy()
38 bc.ShardCommitteePeriod = 0 // Required for voluntary exits test in reasonable time.
39 params.OverrideBeaconConfig(bc)
//
and comment text232 require.NoError(t, err)
233 require.Equal(t, 1, len(endExp))
234 end := endExp[0]
235 //require.ErrorIs(t, err, errEndSequence)236 require.Equal(t, batchEndSequence, end.state)
237}
Comments should have a space between the //
and the comment text
//This is a comment
// This is a comment