Skip to content
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

Add a SanitizedMessage type that caches writable accounts indexes (backport #27317) #29538

Merged
merged 2 commits into from Jan 5, 2023

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jan 5, 2023

This is an automatic backport of pull request #27317 done by Mergify.
Cherry-pick of 5e71f33 has failed:

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

You are currently cherry-picking commit 5e71f339c.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   rpc/src/transaction_status_service.rs
	modified:   runtime/src/message_processor.rs
	modified:   sdk/program/src/message/sanitized.rs
	modified:   sdk/program/src/message/versions/v0/loaded.rs

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   sdk/src/transaction/sanitized.rs

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/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 config editor.

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

…7317)

* Add a SanitizedMessage type that caches writable accounts indexes

* Add is_writable_account_cache to both SanitizedMessage variants, cache is initialized in constructors

(cherry picked from commit 5e71f33)

# Conflicts:
#	sdk/src/transaction/sanitized.rs
@mergify mergify bot added the conflicts label Jan 5, 2023
@CriesofCarrots
Copy link
Contributor

This is a precursor to #26709, which is a precursor to #27278, which we'd like to backport

@CriesofCarrots
Copy link
Contributor

Not sure why stable-perf keeps timing out. Might be that specific agent.

@CriesofCarrots CriesofCarrots merged commit 081ceb0 into v1.14 Jan 5, 2023
@CriesofCarrots CriesofCarrots deleted the mergify/bp/v1.14/pr-27317 branch January 5, 2023 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants