-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-do rent collection check on rent-exempt account (bp #11349) #11654
Conversation
* wip: re-do rent collection check on rent-exempt account * Let's see how the ci goes * Restore previous code * Well, almost all new changes are revertable * Update doc * Add test and gating * Fix tests * Fix tests, especially avoid to change abi... * Fix more tests... * Fix snapshot restore * Align to _new_ with better uninitialized detection (cherry picked from commit 23fa84b) # Conflicts: # core/src/rpc_subscriptions.rs # core/tests/bank_forks.rs # runtime/src/bank.rs
automerge label removed due to a CI failure |
@@ -146,7 +145,7 @@ mod tests { | |||
&CompressionType::Bzip2, | |||
), | |||
CompressionType::Bzip2, | |||
&GenesisConfig::default(), | |||
old_genesis_config, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This spent some time for me to figure out why the test has started to failing.....
runtime/src/bank.rs
Outdated
@@ -506,143 +506,6 @@ impl Bank { | |||
new | |||
} | |||
|
|||
<<<<<<< HEAD |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
v1.2 doesn't have #10581....
@@ -122,6 +120,7 @@ mod tests { | |||
fn restore_from_snapshot( | |||
old_bank_forks: &BankForks, | |||
old_last_slot: Slot, | |||
old_genesis_config: &GenesisConfig, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is extracted from #10581
Codecov Report
@@ Coverage Diff @@
## v1.2 #11654 +/- ##
========================================
- Coverage 81.9% 81.9% -0.1%
========================================
Files 320 320
Lines 76427 76471 +44
========================================
+ Hits 62651 62682 +31
- Misses 13776 13789 +13 |
This is an automated backport of pull request #11349 done by Mergify
Cherry-pick of 23fa84b has failed:
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/
Mergify commands and options
More conditions and actions can be found in the documentation.
You can also trigger Mergify actions by commenting on this pull request:
@Mergifyio refresh
will re-evaluate the rules@Mergifyio rebase
will rebase this PR on its base branch@Mergifyio update
will merge the base branch into this PR@Mergifyio backport <destination>
will backport this PR on<destination>
branchAdditionally, on Mergify dashboard you can:
Finally, you can contact us on https://mergify.io/