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 @@ -3708,30 +3708,8 @@ impl ApiTester {
3708
3708
3709
3709
self . chain . slot_clock . set_slot ( slot. as_u64 ( ) + 1 ) ;
3710
3710
}
3711
- ProduceBlockV3Response :: Full ( block_contents) => {
3712
- assert ! ( !metadata. execution_payload_blinded) ;
3713
- assert_eq ! (
3714
- metadata. consensus_version,
3715
- block_contents
3716
- . block( )
3717
- . to_ref( )
3718
- . fork_name( & self . chain. spec)
3719
- . unwrap( )
3720
- ) ;
3721
- let signed_block_contents =
3722
- block_contents. sign ( & sk, & fork, genesis_validators_root, & self . chain . spec ) ;
3723
-
3724
- self . client
3725
- . post_beacon_blocks ( & signed_block_contents)
3726
- . await
3727
- . unwrap ( ) ;
3728
-
3729
- assert_eq ! (
3730
- self . chain. head_beacon_block( ) ,
3731
- * signed_block_contents. signed_block( )
3732
- ) ;
3733
-
3734
- self . chain . slot_clock . set_slot ( slot. as_u64 ( ) + 1 ) ;
3711
+ ProduceBlockV3Response :: Full ( _) => {
3712
+ panic ! ( "Expecting a blinded block" ) ;
3735
3713
}
3736
3714
}
3737
3715
}
@@ -3831,8 +3809,8 @@ impl ApiTester {
3831
3809
ProduceBlockV3Response :: Blinded ( blinded_block) => {
3832
3810
assert_eq ! ( blinded_block. slot( ) , slot) ;
3833
3811
}
3834
- ProduceBlockV3Response :: Full ( full_block ) => {
3835
- assert_eq ! ( full_block . block ( ) . slot ( ) , slot ) ;
3812
+ ProduceBlockV3Response :: Full ( _ ) => {
3813
+ panic ! ( "Expecting a blinded block" ) ;
3836
3814
}
3837
3815
}
3838
3816
You can’t perform that action at this time.
0 commit comments