@@ -398,8 +398,8 @@ def test_fork_builder_deposit_with_existing_validator_pubkey_builder_creds(spec,
398398def test_fork_builder_deposit_followed_by_non_builder_credentials (spec , phases , state ):
399399 """
400400 Test fork with two deposits for the same builder pubkey:
401- - First deposit has builder credentials (0x03)
402- - Second deposit has non-builder credentials (0x02)
401+ - First deposit has builder credentials
402+ - Second deposit has non-builder credentials
403403 Both should be applied to the builder.
404404 """
405405 post_spec = phases [GLOAS ]
@@ -408,7 +408,7 @@ def test_fork_builder_deposit_followed_by_non_builder_credentials(spec, phases,
408408 builder_pubkey = builder_pubkeys [0 ]
409409 privkey = builder_pubkey_to_privkey [builder_pubkey ]
410410
411- # First deposit: builder credentials (0x03)
411+ # First deposit: builder credentials
412412 builder_deposit = create_pending_deposit_for_builder (post_spec , builder_pubkey , amount )
413413
414414 # Second deposit: compounding credentials (0x02) for the same pubkey
@@ -453,8 +453,8 @@ def test_fork_builder_deposit_followed_by_non_builder_credentials(spec, phases,
453453def test_fork_validator_deposit_followed_by_builder_credentials (spec , phases , state ):
454454 """
455455 Test fork with two deposits for the same pubkey:
456- - First deposit has validator credentials (0x02)
457- - Second deposit has builder credentials (0x03)
456+ - First deposit has validator credentials
457+ - Second deposit has builder credentials
458458 Both deposits should stay in pending (no builder created).
459459 """
460460 post_spec = phases [GLOAS ]
@@ -483,7 +483,7 @@ def test_fork_validator_deposit_followed_by_builder_credentials(spec, phases, st
483483 slot = post_spec .GENESIS_SLOT ,
484484 )
485485
486- # Second deposit: builder credentials (0x03) for the same pubkey
486+ # Second deposit: builder credentials for the same pubkey
487487 builder_deposit = create_pending_deposit_for_builder (post_spec , builder_pubkey , amount )
488488
489489 state .pending_deposits = [validator_deposit , builder_deposit ]
@@ -513,8 +513,8 @@ def test_fork_validator_deposit_followed_by_builder_credentials(spec, phases, st
513513def test_fork_invalid_validator_deposit_followed_by_builder_credentials (spec , phases , state ):
514514 """
515515 Test fork with two deposits for the same pubkey:
516- - First deposit has validator credentials (0x02) but INVALID signature
517- - Second deposit has builder credentials (0x03) with valid signature
516+ - First deposit has validator credentials but INVALID signature
517+ - Second deposit has builder credentials with valid signature
518518 The invalid validator deposit should not block the builder deposit.
519519 """
520520 post_spec = phases [GLOAS ]
@@ -534,7 +534,7 @@ def test_fork_invalid_validator_deposit_followed_by_builder_credentials(spec, ph
534534 slot = post_spec .GENESIS_SLOT ,
535535 )
536536
537- # Second deposit: builder credentials (0x03) with valid signature
537+ # Second deposit: builder credentials with valid signature
538538 builder_deposit = create_pending_deposit_for_builder (post_spec , builder_pubkey , amount )
539539
540540 state .pending_deposits = [invalid_validator_deposit , builder_deposit ]
@@ -561,8 +561,8 @@ def test_fork_invalid_validator_deposit_followed_by_builder_credentials(spec, ph
561561def test_fork_invalid_builder_deposit_followed_by_valid_builder_deposit (spec , phases , state ):
562562 """
563563 Test fork with two builder deposits for the same pubkey:
564- - First deposit has builder credentials (0x03) but INVALID signature
565- - Second deposit has builder credentials (0x03) with valid signature
564+ - First deposit has builder credentials but INVALID signature
565+ - Second deposit has builder credentials with valid signature
566566 The valid second deposit should create the builder.
567567 """
568568 post_spec = phases [GLOAS ]
@@ -571,7 +571,7 @@ def test_fork_invalid_builder_deposit_followed_by_valid_builder_deposit(spec, ph
571571 builder_pubkey = builder_pubkeys [0 ]
572572 builder_withdrawal_credentials = get_builder_withdrawal_credentials (post_spec , builder_pubkey )
573573
574- # First deposit: builder credentials (0x03) with INVALID signature
574+ # First deposit: builder credentials with INVALID signature
575575 invalid_builder_deposit = post_spec .PendingDeposit (
576576 pubkey = builder_pubkey ,
577577 withdrawal_credentials = builder_withdrawal_credentials ,
@@ -580,7 +580,7 @@ def test_fork_invalid_builder_deposit_followed_by_valid_builder_deposit(spec, ph
580580 slot = post_spec .GENESIS_SLOT ,
581581 )
582582
583- # Second deposit: builder credentials (0x03) with valid signature
583+ # Second deposit: builder credentials with valid signature
584584 valid_builder_deposit = create_pending_deposit_for_builder (post_spec , builder_pubkey , amount )
585585
586586 state .pending_deposits = [invalid_builder_deposit , valid_builder_deposit ]
@@ -604,8 +604,8 @@ def test_fork_invalid_builder_deposit_followed_by_valid_builder_deposit(spec, ph
604604def test_fork_valid_builder_deposit_followed_by_invalid_builder_deposit (spec , phases , state ):
605605 """
606606 Test fork with two builder deposits for the same pubkey:
607- - First deposit has builder credentials (0x03) with valid signature
608- - Second deposit has builder credentials (0x03) but INVALID signature
607+ - First deposit has builder credentials with valid signature
608+ - Second deposit has builder credentials but INVALID signature
609609 The valid first deposit should create the builder, second adds to balance.
610610 """
611611 post_spec = phases [GLOAS ]
@@ -614,10 +614,10 @@ def test_fork_valid_builder_deposit_followed_by_invalid_builder_deposit(spec, ph
614614 builder_pubkey = builder_pubkeys [0 ]
615615 builder_withdrawal_credentials = get_builder_withdrawal_credentials (post_spec , builder_pubkey )
616616
617- # First deposit: builder credentials (0x03) with valid signature
617+ # First deposit: builder credentials with valid signature
618618 valid_builder_deposit = create_pending_deposit_for_builder (post_spec , builder_pubkey , amount )
619619
620- # Second deposit: builder credentials (0x03) with INVALID signature
620+ # Second deposit: builder credentials with INVALID signature
621621 invalid_builder_deposit = post_spec .PendingDeposit (
622622 pubkey = builder_pubkey ,
623623 withdrawal_credentials = builder_withdrawal_credentials ,
0 commit comments