File tree Expand file tree Collapse file tree 1 file changed +4
-26
lines changed
beacon_node/http_api/tests Expand file tree Collapse file tree 1 file changed +4
-26
lines changed Original file line number Diff line number Diff line change @@ -3627,30 +3627,8 @@ impl ApiTester {
3627
3627
3628
3628
self . chain . slot_clock . set_slot ( slot. as_u64 ( ) + 1 ) ;
3629
3629
}
3630
- ProduceBlockV3Response :: Full ( block_contents) => {
3631
- assert ! ( !metadata. execution_payload_blinded) ;
3632
- assert_eq ! (
3633
- metadata. consensus_version,
3634
- block_contents
3635
- . block( )
3636
- . to_ref( )
3637
- . fork_name( & self . chain. spec)
3638
- . unwrap( )
3639
- ) ;
3640
- let signed_block_contents =
3641
- block_contents. sign ( & sk, & fork, genesis_validators_root, & self . chain . spec ) ;
3642
-
3643
- self . client
3644
- . post_beacon_blocks ( & signed_block_contents)
3645
- . await
3646
- . unwrap ( ) ;
3647
-
3648
- assert_eq ! (
3649
- self . chain. head_beacon_block( ) ,
3650
- * signed_block_contents. signed_block( )
3651
- ) ;
3652
-
3653
- self . chain . slot_clock . set_slot ( slot. as_u64 ( ) + 1 ) ;
3630
+ ProduceBlockV3Response :: Full ( _) => {
3631
+ panic ! ( "Expecting a blinded block" ) ;
3654
3632
}
3655
3633
}
3656
3634
}
@@ -3750,8 +3728,8 @@ impl ApiTester {
3750
3728
ProduceBlockV3Response :: Blinded ( blinded_block) => {
3751
3729
assert_eq ! ( blinded_block. slot( ) , slot) ;
3752
3730
}
3753
- ProduceBlockV3Response :: Full ( full_block ) => {
3754
- assert_eq ! ( full_block . block ( ) . slot ( ) , slot ) ;
3731
+ ProduceBlockV3Response :: Full ( _ ) => {
3732
+ panic ! ( "Expecting a blinded block" ) ;
3755
3733
}
3756
3734
}
3757
3735
You can’t perform that action at this time.
0 commit comments