File tree Expand file tree Collapse file tree 8 files changed +10
-0
lines changed Expand file tree Collapse file tree 8 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -2269,6 +2269,7 @@ impl SortitionDB {
22692269
22702270 let epochs = SortitionDB :: validate_epochs ( epochs_ref) ;
22712271 for epoch in epochs. into_iter ( ) {
2272+ warn ! ( "stacks_epoch {:#?}" , & epoch. block_limit) ;
22722273 let args: & [ & dyn ToSql ] = & [
22732274 & ( epoch. epoch_id as u32 ) ,
22742275 & u64_to_sql ( epoch. start_height ) ?,
Original file line number Diff line number Diff line change @@ -774,6 +774,7 @@ impl<
774774 . index_conn ( )
775775 . get_stacks_epoch_by_epoch_id ( & block_receipt. evaluated_epoch )
776776 . expect ( "Could not find a stacks epoch." ) ;
777+ warn ! ( "stacks_epoch {:#?}" , & stacks_epoch. block_limit) ;
777778 estimator
778779 . notify_block ( & block_receipt. tx_receipts , & stacks_epoch. block_limit ) ;
779780 }
@@ -784,6 +785,7 @@ impl<
784785 . index_conn ( )
785786 . get_stacks_epoch_by_epoch_id ( & block_receipt. evaluated_epoch )
786787 . expect ( "Could not find a stacks epoch." ) ;
788+ warn ! ( "stacks_epoch {:#?}" , & stacks_epoch. block_limit) ;
787789 if let Err ( e) =
788790 estimator. notify_block ( & block_receipt, & stacks_epoch. block_limit )
789791 {
Original file line number Diff line number Diff line change @@ -3907,6 +3907,7 @@ impl StacksChainState {
39073907 db. get_stacks_epoch ( chain_tip_burn_header_height) ,
39083908 )
39093909 } ) ;
3910+ warn ! ( "sortition_epoch {:#?}" , & sortition_epoch) ;
39103911
39113912 let mut receipts = vec ! [ ] ;
39123913
Original file line number Diff line number Diff line change @@ -318,6 +318,7 @@ impl ClarityInstance {
318318 let mut datastore = self . datastore . begin ( current, next) ;
319319
320320 let epoch = Self :: get_epoch_of ( current, header_db, burn_state_db) ;
321+ warn ! ( "stacks_epoch {:#?}" , & epoch. block_limit) ;
321322 let cost_track = {
322323 let mut clarity_db = datastore. as_clarity_db ( & NULL_HEADER_DB , & NULL_BURN_STATE_DB ) ;
323324 Some (
Original file line number Diff line number Diff line change @@ -4409,6 +4409,7 @@ impl PeerNetwork {
44094409 }
44104410 } ;
44114411
4412+ warn ! ( "stacks_epoch {:#?}" , & stacks_epoch. block_limit) ;
44124413 if let Err ( e) = mempool. submit (
44134414 chainstate,
44144415 consensus_hash,
Original file line number Diff line number Diff line change @@ -1634,6 +1634,7 @@ impl ConversationHttp {
16341634 net_error:: ChainstateError ( "Could not load Stacks epoch for canonical burn height" . into ( ) )
16351635 } ) ?;
16361636
1637+ warn ! ( "stacks_epoch {:#?}" , & stacks_epoch. block_limit) ;
16371638 let scalar_cost =
16381639 metric. from_cost_and_len ( & estimated_cost, & stacks_epoch. block_limit , estimated_len) ;
16391640 let fee_rates = match fee_estimator. get_rate_estimates ( ) {
Original file line number Diff line number Diff line change @@ -1841,6 +1841,7 @@ impl InitializedNeonNode {
18411841
18421842 // submit the poison payload, privately, so we'll mine it when building the
18431843 // anchored block.
1844+ warn ! ( "stacks_epoch {:#?}" , & stacks_epoch. block_limit) ;
18441845 if let Err ( e) = mem_pool. submit (
18451846 chain_state,
18461847 & parent_consensus_hash,
Original file line number Diff line number Diff line change @@ -884,10 +884,12 @@ impl Node {
884884 . get_stacks_epoch_by_epoch_id ( & processed_block. evaluated_epoch )
885885 . expect ( "Could not find a stacks epoch." ) ;
886886 if let Some ( estimator) = cost_estimator. as_mut ( ) {
887+ warn ! ( "stacks_epoch {:#?}" , & stacks_epoch. block_limit) ;
887888 estimator. notify_block ( & processed_block. tx_receipts , & stacks_epoch. block_limit ) ;
888889 }
889890
890891 if let Some ( estimator) = fee_estimator. as_mut ( ) {
892+ warn ! ( "stacks_epoch {:#?}" , & stacks_epoch. block_limit) ;
891893 if let Err ( e) = estimator. notify_block ( & processed_block, & stacks_epoch. block_limit ) {
892894 warn ! ( "FeeEstimator failed to process block receipt" ;
893895 "stacks_block" => %processed_block. header. anchored_header. block_hash( ) ,
You can’t perform that action at this time.
0 commit comments