Skip to content

Require payment for fee-bearing base actions from non-delegated payers #1913

Description

@bmuddha

Scope

Mirrored and Magic/confined payers can schedule fee-bearing standalone base actions without paying the ER fee. ScheduleIntentBundle charges only when the payer supplies a fee vault, which is required only for delegated payers. Without one, scheduling checks commit quotas but does not account for action fees. The validator then constructs and pays for the base transaction.

Observed at Validator v2.0.0-rc.2, commit 377a086af0cffd72cb24a19ee94bafadbc4ed25a: fee-vault eligibility and the no-vault scheduling branch.

The local native-CPI reproduction queued one action with a calculated fee of 5,000 lamports from each non-delegated payer mode, without a vault argument or balance debit. The delegated-payer control paid the fee. A separate loopback base-validator run measured the validator authority paying 105,000 lamports in transaction fees for a matching action. These are separate proofs, not a full committor-service E2E.

Outcome

Fee-bearing base actions require a delegated payer and the validated fee vault; they cannot silently enter the sponsored path. Cover standalone actions and review actions attached to commits or undelegation under the same rule. Keep the existing sponsored commit allowance and undelegation policy distinct from action fees rather than rejecting every bundle with a nonzero total fee.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions