File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
execution_layer/src/test_utils Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ impl InvalidPayloadRig {
89
89
} else {
90
90
mock_execution_layer. server . full_payload_verification ( ) ;
91
91
}
92
- self . harness . process_block ( slot, block. clone ( ) ) . unwrap ( ) ;
92
+ self . harness . process_block ( slot, block) . unwrap ( ) ;
93
93
self . valid_blocks . insert ( block_root) ;
94
94
// TODO: check syncing blocks are optimistic.
95
95
}
@@ -101,7 +101,7 @@ impl InvalidPayloadRig {
101
101
. server
102
102
. all_payloads_invalid ( latest_valid_hash) ;
103
103
104
- match self . harness . process_block ( slot, block. clone ( ) ) {
104
+ match self . harness . process_block ( slot, block) {
105
105
Err ( BlockError :: ExecutionPayloadError (
106
106
ExecutionPayloadError :: RejectedByExecutionEngine ,
107
107
) ) => ( ) ,
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ pub async fn handle_rpc<T: EthSpec>(
75
75
}
76
76
FixedPayloadResponse :: Invalid { latest_valid_hash } => ExecutePayloadResponse {
77
77
status : ExecutePayloadResponseStatus :: Invalid { latest_valid_hash } ,
78
- message : None ,
78
+ validation_error : None ,
79
79
} ,
80
80
FixedPayloadResponse :: Syncing => {
81
81
// Try to import the block, ignore the response.
@@ -84,7 +84,7 @@ pub async fn handle_rpc<T: EthSpec>(
84
84
. execute_payload ( request. into ( ) ) ;
85
85
ExecutePayloadResponse {
86
86
status : ExecutePayloadResponseStatus :: Syncing ,
87
- message : None ,
87
+ validation_error : None ,
88
88
}
89
89
}
90
90
} ;
You can’t perform that action at this time.
0 commit comments