Skip to content

Commit

Permalink
add finalize block
Browse files Browse the repository at this point in the history
  • Loading branch information
haerdib committed Jan 30, 2024
1 parent 8bbb7f2 commit fc19d94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testing/examples/runtime_api_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,6 @@ async fn main() {

// BlockBuilder
let extrinsic = api.balance_transfer_allow_death(bob.clone().into(), 1000);
let authority_id = api.apply_extrinsic(extrinsic, None).unwrap().unwrap().unwrap();
api.apply_extrinsic(extrinsic, None).unwrap().unwrap().unwrap();
let _header = api.finalize_block(None).unwrap();
}

0 comments on commit fc19d94

Please sign in to comment.