-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
featuretechdebtIssues outlining shortcuts we took that need to be fixed when we have timeIssues outlining shortcuts we took that need to be fixed when we have time
Description
For the fee-payer accounts which are not delegated, in order to allow for transparent transaction execution flow, we employ a smart trick inside of the SVM, when either:
- the escrow account (derived from the specified on-curve fee-payer account) is charged by replacing the feepayer in the list of loaded accounts
- no account is charged if the ER is running in gas-less mode
In both cases we need to make sure that if the feepayer wasn't delegated, it shouldn't have changed in any way before the transaction is committed, as otherwise an instruction can be inserted into transaction which drains the fee-payer, which violates the invariant that only delegated accounts can be modified inside of the ER.
Metadata
Metadata
Assignees
Labels
featuretechdebtIssues outlining shortcuts we took that need to be fixed when we have timeIssues outlining shortcuts we took that need to be fixed when we have time