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

Re-do rent collection check on rent-exempt account (bp #11349)#11654

Merged
mergify[bot] merged 3 commits intov1.2from
mergify/bp/v1.2/pr-11349
Aug 17, 2020
Merged

Re-do rent collection check on rent-exempt account (bp #11349)#11654
mergify[bot] merged 3 commits intov1.2from
mergify/bp/v1.2/pr-11349

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify Bot commented Aug 17, 2020

This is an automated backport of pull request #11349 done by Mergify

Cherry-pick of 23fa84b has failed:

On branch mergify/bp/v1.2/pr-11349
Your branch is up to date with 'origin/v1.2'.

You are currently cherry-picking commit 23fa84b32.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:

	modified:   core/src/rpc_pubsub.rs
	modified:   docs/src/implemented-proposals/rent.md
	modified:   programs/bpf/c/src/invoked/invoked.c
	modified:   programs/bpf/rust/invoked/src/lib.rs
	modified:   runtime/src/accounts.rs
	modified:   runtime/src/rent_collector.rs

Unmerged paths:
  (use "git add <file>..." to mark resolution)

	both modified:   core/src/rpc_subscriptions.rs
	both modified:   core/tests/bank_forks.rs
	both modified:   runtime/src/bank.rs

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> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the simulator.

Finally, you can contact us on https://mergify.io/

* 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
@mergify mergify Bot added conflicts automerge Merge this Pull Request automatically once CI passes and removed automerge Merge this Pull Request automatically once CI passes labels Aug 17, 2020
@mergify
Copy link
Copy Markdown
Contributor Author

mergify Bot commented Aug 17, 2020

automerge label removed due to a CI failure

@mergify mergify Bot added the automerge Merge this Pull Request automatically once CI passes label Aug 17, 2020
Comment thread core/tests/bank_forks.rs
),
CompressionType::Bzip2,
&GenesisConfig::default(),
old_genesis_config,
Copy link
Copy Markdown
Contributor

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.....

Comment thread runtime/src/bank.rs Outdated
new
}

<<<<<<< HEAD
Copy link
Copy Markdown
Contributor

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....

Comment thread core/tests/bank_forks.rs
fn restore_from_snapshot(
old_bank_forks: &BankForks,
old_last_slot: Slot,
old_genesis_config: &GenesisConfig,
Copy link
Copy Markdown
Contributor

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
Copy link
Copy Markdown

codecov Bot commented Aug 17, 2020

Codecov Report

Merging #11654 into v1.2 will decrease coverage by 0.0%.
The diff coverage is 74.0%.

@@           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     

@mergify mergify Bot merged commit e2626da into v1.2 Aug 17, 2020
@mergify mergify Bot deleted the mergify/bp/v1.2/pr-11349 branch August 17, 2020 11:15
@ryoqun ryoqun removed the conflicts label Aug 18, 2020
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.

1 participant