Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Report correct transaction_count after squash #3000

Merged
merged 2 commits into from
Feb 28, 2019

Conversation

sambley
Copy link
Contributor

@sambley sambley commented Feb 28, 2019

Problem

The transaction count reported for the parent forks are incorrect after the child fork is squashed.

Summary of Changes

The parent forks were being removed from the forks list when being squashed and hence the transaction count was being reported as 0 for all the parents. Do not remove the parent forks from the list when squashed.

Fixes #2996

Copy link
Contributor

@mvines mvines left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You got PR 3000! Fix looks good too, thanks

@garious garious added the automerge Merge this Pull Request automatically once CI passes label Feb 28, 2019
@solana-grimes solana-grimes merged commit 0f22269 into solana-labs:master Feb 28, 2019
@codecov
Copy link

codecov bot commented Feb 28, 2019

Codecov Report

Merging #3000 into master will increase coverage by 5.9%.
The diff coverage is 100%.

@@           Coverage Diff            @@
##           master   #3000     +/-   ##
========================================
+ Coverage    70.7%   76.6%   +5.9%     
========================================
  Files         128     128             
  Lines       21353   19695   -1658     
========================================
+ Hits        15101   15103      +2     
+ Misses       6252    4592   -1660

1 similar comment
@codecov
Copy link

codecov bot commented Feb 28, 2019

Codecov Report

Merging #3000 into master will increase coverage by 5.9%.
The diff coverage is 100%.

@@           Coverage Diff            @@
##           master   #3000     +/-   ##
========================================
+ Coverage    70.7%   76.6%   +5.9%     
========================================
  Files         128     128             
  Lines       21353   19695   -1658     
========================================
+ Hits        15101   15103      +2     
+ Misses       6252    4592   -1660

brooksprumo pushed a commit to brooksprumo/solana that referenced this pull request Sep 27, 2024
Cleanup of external_internal_function_hash_collision.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automerge Merge this Pull Request automatically once CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants