Skip to content

Commit 947516c

Browse files
committed
chore(coprocessor): commit tx for BatchInputProofs scenario
1 parent 85eb3e5 commit 947516c

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

coprocessor/fhevm-engine/stress-test-generator/src/auction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ pub async fn batch_submit_encrypted_bids(
6666
let mut user_submitted_bids = vec![];
6767

6868
for e_amount in bids.iter() {
69-
let bid_price = 1; // rand::random_range(1..=1000);
69+
let bid_price = 1;
7070

7171
let (e_paid, e_amount, price) = process_bid_entry(
7272
ctx,

coprocessor/fhevm-engine/stress-test-generator/src/bin/stress_generator.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,8 @@ async fn generate_transaction(
604604
)
605605
.await?;
606606

607+
tx.commit().await?;
608+
607609
Ok((Handle::default(), Handle::default()))
608610
}
609611
Transaction::BatchSubmitEncryptedBids => {

0 commit comments

Comments
 (0)