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

Add getRecentPrioritizationFees RPC endpoint (backport #27278) #29547

Closed
wants to merge 1 commit into from

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jan 5, 2023

This is an automatic backport of pull request #27278 done by Mergify.
Cherry-pick of 9b8bed8 has failed:

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

You are currently cherry-picking commit 9b8bed86f.
  (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:   client/src/rpc_response.rs
	modified:   docs/src/developing/clients/jsonrpc-api.md

Unmerged paths:
  (use "git add/rm <file>..." as appropriate to mark resolution)
	both modified:   core/src/validator.rs
	both modified:   rpc/src/rpc.rs
	both modified:   rpc/src/rpc_service.rs
	deleted by us:   runtime/src/prioritization_fee_cache.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

* Plumb priority_fee_cache into rpc

* Add PrioritizationFeeCache api

* Add getRecentPrioritizationFees rpc endpoint

* Use MAX_TX_ACCOUNT_LOCKS to limit input keys

* Remove unused cache apis

* Map fee data by slot, and make rpc account inputs optional

* Add priority_fee_cache to rpc test framework, and add test

* Add endpoint to jsonrpc docs

* Update docs/src/developing/clients/jsonrpc-api.md

* Update docs/src/developing/clients/jsonrpc-api.md

(cherry picked from commit 9b8bed8)

# Conflicts:
#	core/src/validator.rs
#	rpc/src/rpc.rs
#	rpc/src/rpc_service.rs
#	runtime/src/prioritization_fee_cache.rs
@CriesofCarrots
Copy link
Contributor

I think this will go better if I wait until #29539 is merged. I'm also curious if the backport tag will work a 2nd time.

@mergify mergify bot deleted the mergify/bp/v1.14/pr-27278 branch January 6, 2023 03:16
@CriesofCarrots
Copy link
Contributor

I'm also curious if the backport tag will work a 2nd time.

It doesn't.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant