Skip to content

feat: limit gasless commits to what can be charged on undelegation from the rent #737

@GabrielePicco

Description

@GabrielePicco

Description

We need to limit the amount of gasless commits to what we can charge on undelegation from the rent.

Proposed solution

Fails all commits if the nonce of the commit is > than x, where x is the number of commits for which we can cover fees on undelegation (from the recover rent)

This is necessary for re-enabling frequency commits

Notes

We should also add an alternative pay to pay/topup. One discussed idea is to charge from a delegated PDA deterministically derived from the committing program ID

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions