@@ -183,7 +183,7 @@ async fn execution_proof_creation_and_verification_should_work() {
183
183
)
184
184
. expect ( "Create `initialize_block` proof" ) ;
185
185
186
- // Test `initialize_block` verification on executor .
186
+ // Test `initialize_block` verification.
187
187
let execution_result = prover
188
188
. check_execution_proof (
189
189
BlockId :: Hash ( parent_header. hash ( ) ) ,
@@ -196,7 +196,6 @@ async fn execution_proof_creation_and_verification_should_work() {
196
196
execution_phase. decode_execution_result :: < Header > ( execution_result) . unwrap ( ) ;
197
197
assert_eq ! ( post_execution_root, intermediate_roots[ 0 ] . into( ) ) ;
198
198
199
- // Test `initialize_block` verification on farmer.
200
199
let proof_verifier = subspace_fraud_proof:: ProofVerifier :: new (
201
200
alice. client . clone ( ) ,
202
201
alice. backend . clone ( ) ,
@@ -240,7 +239,7 @@ async fn execution_proof_creation_and_verification_should_work() {
240
239
let target_trace_root: Hash = intermediate_roots[ target_extrinsic_index] . into ( ) ;
241
240
assert_eq ! ( target_trace_root, post_delta_root) ;
242
241
243
- // Test `apply_extrinsic` verification on executor .
242
+ // Test `apply_extrinsic` verification.
244
243
let execution_result = prover
245
244
. check_execution_proof (
246
245
BlockId :: Hash ( parent_header. hash ( ) ) ,
@@ -253,7 +252,6 @@ async fn execution_proof_creation_and_verification_should_work() {
253
252
execution_phase. decode_execution_result :: < Header > ( execution_result) . unwrap ( ) ;
254
253
assert_eq ! ( post_execution_root, intermediate_roots[ target_extrinsic_index + 1 ] . into( ) ) ;
255
254
256
- // Test `apply_extrinsic` verification on farmer.
257
255
let fraud_proof = FraudProof {
258
256
parent_hash : parent_hash_alice,
259
257
pre_state_root : intermediate_roots[ target_extrinsic_index] . into ( ) ,
@@ -284,7 +282,7 @@ async fn execution_proof_creation_and_verification_should_work() {
284
282
)
285
283
. expect ( "Create `finalize_block` proof" ) ;
286
284
287
- // Test `finalize_block` verification on executor .
285
+ // Test `finalize_block` verification.
288
286
let execution_result = prover
289
287
. check_execution_proof (
290
288
BlockId :: Hash ( parent_header. hash ( ) ) ,
@@ -297,7 +295,6 @@ async fn execution_proof_creation_and_verification_should_work() {
297
295
execution_phase. decode_execution_result :: < Header > ( execution_result) . unwrap ( ) ;
298
296
assert_eq ! ( post_execution_root, * header. state_root( ) ) ;
299
297
300
- // Test `finalize_block` verification on farmer.
301
298
let fraud_proof = FraudProof {
302
299
parent_hash : parent_hash_alice,
303
300
pre_state_root : intermediate_roots. last ( ) . unwrap ( ) . into ( ) ,
0 commit comments