diff --git a/src/contract/money/tests/integration.rs b/src/contract/money/tests/integration.rs index cc24f9715..e4531bf78 100644 --- a/src/contract/money/tests/integration.rs +++ b/src/contract/money/tests/integration.rs @@ -28,16 +28,17 @@ fn money_integration() -> Result<()> { // Holders this test will use const HOLDERS: [Holder; 2] = [Holder::Alice, Holder::Bob]; - // Current verification slot - let mut verification_slot = 0; - // Initialize harness let mut th = TestHarness::new(&["money".to_string()]).await?; + // Current verification slot + let mut verification_slot = 1; + th.generate_slot(verification_slot).await?; + // Drop some money to Alice info!("[Alice] Building block proposal"); let (alice_proposal_tx, alice_proposal_params) = - th.pow_reward(&Holder::Alice, None, verification_slot + 1, None)?; + th.pow_reward(&Holder::Alice, None, verification_slot, None)?; for holder in HOLDERS { info!("[{holder:?}] Executing Alice's block proposal"); @@ -57,7 +58,7 @@ fn money_integration() -> Result<()> { // And some to Bob info!("[Bob] Building block proposal"); let (bob_proposal_tx, bob_proposal_params) = - th.pow_reward(&Holder::Bob, None, verification_slot + 1, None)?; + th.pow_reward(&Holder::Bob, None, verification_slot, None)?; for holder in HOLDERS { info!("[{holder:?}] Executing Alice's block proposal");