Skip to content

feat: port fee-payer max_gas override from mppx#342#227

Closed
evchip wants to merge 1 commit intotempoxyz:mainfrom
evchip:feature/add-fee-payer-override-to-charge-method
Closed

feat: port fee-payer max_gas override from mppx#342#227
evchip wants to merge 1 commit intotempoxyz:mainfrom
evchip:feature/add-fee-payer-override-to-charge-method

Conversation

@evchip
Copy link
Copy Markdown
Contributor

@evchip evchip commented Apr 18, 2026

Adds FeePayerPolicy and FeePayerPolicyOverride types plus ChargeMethod::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, and max_validity_window_seconds overrides, plus per-chain defaults.

Copy link
Copy Markdown
Collaborator

@brendanjryan brendanjryan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
@evchip evchip closed this Apr 19, 2026
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.

2 participants