feat: port fee-payer max_gas override from mppx#342#227
Closed
evchip wants to merge 1 commit intotempoxyz:mainfrom
Closed
feat: port fee-payer max_gas override from mppx#342#227evchip wants to merge 1 commit intotempoxyz:mainfrom
max_gas override from mppx#342#227evchip wants to merge 1 commit intotempoxyz:mainfrom
Conversation
…mits for fee sponsorship
brendanjryan
approved these changes
Apr 18, 2026
Collaborator
brendanjryan
left a comment
There was a problem hiding this comment.
LGTM - if you are going to implement the second part, do you think you could do it in a single pr? this will allow us to release all at once
evchip
pushed a commit
to evchip/mpp-rs
that referenced
this pull request
Apr 19, 2026
Adds max_fee_per_gas, max_priority_fee_per_gas, max_total_fee, and max_validity_window_seconds fields to FeePayerPolicy/FeePayerPolicyOverride and validates them in cosign_fee_payer_transaction, completing the port from mppx#342 started in tempoxyz#227. https://claude.ai/code/session_01SkvXJe9df8GRM1jBpfaFXD
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
FeePayerPolicyandFeePayerPolicyOverridetypes plusChargeMethod::with_fee_payer_policy_override()so servers can tune fee-sponsor gas ceiling (default: 1M) per call.First step toward porting mppx#342. Follow-up work to add
max_fee_per_gas,max_priority_fee_per_gas,max_total_fee, andmax_validity_window_secondsoverrides, plus per-chain defaults.