Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
the balance will 100000000 for stress testing
  • Loading branch information
jackzhhuang committed Aug 29, 2025
commit c69a2c2fcc6297410639262cbb68f656087d583d
6 changes: 3 additions & 3 deletions cmd/tx-factory/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ impl TxnMocker {
now.duration_since(UNIX_EPOCH)
.expect("time error")
.as_secs()
+ 600 // 10 minutes
+ 180 // 3 minutes
// let node_info = self
// .client
// .node_info()
Expand Down Expand Up @@ -552,7 +552,7 @@ impl TxnMocker {
self.next_sequence_number,
association_address(),
addr_vec.clone(),
10000000,
100000000,
1,
expiration_timestamp,
)?;
Expand Down Expand Up @@ -706,7 +706,7 @@ impl TxnMocker {
.copied()
.map(|(address, _)| address)
.collect(),
100,
1,
round_num as u64,
)?;

Expand Down
2 changes: 1 addition & 1 deletion cmd/tx-factory/src/txn_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ impl MockTxnGenerator {
sequence_number,
amount,
gas_price,
1,
40000,
expiration_timestamp,
self.chain_id,
);
Expand Down
Loading