Skip to content

Commit

Permalink
Improving tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JuaniRios committed May 16, 2024
1 parent 59e061b commit a7af0fb
Show file tree
Hide file tree
Showing 2 changed files with 715 additions and 276 deletions.
2 changes: 0 additions & 2 deletions pallets/funding/src/instantiator/async_features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ pub async fn async_create_evaluating_project<
let mut inst = instantiator.lock().await;

inst.start_evaluation(project_id, issuer).unwrap();
let now = inst.current_block();
project_id
}

Expand Down Expand Up @@ -791,7 +790,6 @@ pub async fn async_create_project_at<
block_orchestrator.add_awaiting_project(now + time_to_finish - time_to_evaluation, notify.clone()).await;
// Wait for the notification that our desired block was reached to continue
notify.notified().await;
let now = mutex_inst.lock().await.current_block();
async_create_evaluating_project(
mutex_inst.clone(),
test_project_params.metadata,
Expand Down
Loading

0 comments on commit a7af0fb

Please sign in to comment.