File tree 3 files changed +12
-4
lines changed
3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -341,6 +341,10 @@ impl EventMonitor {
341
341
. values ( )
342
342
. filter ( |tx| tx. included_in_ib . is_some ( ) )
343
343
. collect ( ) ;
344
+ let txs_which_reached_eb: BTreeSet < _ > = eb_ibs. values ( )
345
+ . flatten ( )
346
+ . flat_map ( |ib_id| ib_txs. get ( ib_id) . cloned ( ) . unwrap_or_default ( ) )
347
+ . collect ( ) ;
344
348
let empty_ebs = generated_ebs - ibs_in_eb. len ( ) as u64 ;
345
349
let ibs_which_reached_eb = ebs_containing_ib. len ( ) ;
346
350
let bundle_count = votes_per_bundle. len ( ) ;
@@ -418,6 +422,10 @@ impl EventMonitor {
418
422
"{} out of {} IBs expired before they reached an EB." ,
419
423
expired_ibs, generated_ibs,
420
424
) ;
425
+ info ! (
426
+ "{} out of {} transaction(s) were included in at least one EB." ,
427
+ txs_which_reached_eb. len( ) , txs. len( ) ,
428
+ ) ;
421
429
info ! ( "{} total votes were generated." , total_votes) ;
422
430
info ! ( "Each stake pool produced an average of {:.3} vote(s) (stddev {:.3})." ,
423
431
votes_per_pool. mean, votes_per_pool. std_dev) ;
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ impl ClockBarrier {
123
123
} ;
124
124
if rx. await . is_ok ( ) {
125
125
assert_eq ! ( self . now( ) , timestamp) ;
126
- std:: mem:: forget ( guard) ;
126
+ std:: mem:: forget ( guard) ;
127
127
}
128
128
}
129
129
}
Original file line number Diff line number Diff line change @@ -5,13 +5,13 @@ vote_probability = 500.0
5
5
vote_threshold = 150
6
6
max_block_size = 90112
7
7
max_tx_size = 16384
8
- stage_length = 2
8
+ stage_length = 20
9
9
deliver_stage_count = 2
10
10
uniform_ib_generation = true
11
11
max_ib_size = 327680
12
12
max_ib_requests_per_peer = 1
13
13
ib_shards = 8
14
- one_vote_per_vrf = true
14
+ one_vote_per_vrf = false
15
15
16
16
[[nodes ]]
17
17
location = [
@@ -33754,7 +33754,7 @@ nodes = [
33754
33754
[transaction_frequency_ms ]
33755
33755
distribution = " exp"
33756
33756
lambda = 0.85
33757
- scale = 1000 .0
33757
+ scale = 40 .0
33758
33758
33759
33759
[transaction_size_bytes ]
33760
33760
distribution = " log_normal"
You can’t perform that action at this time.
0 commit comments