Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update RIP-7560: Explicitly allow 'DELEGATECALL' frames to call entry point callbacks #61

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions RIPS/rip-7560.md
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,9 @@ making multiple calls to the `AA_ENTRY_POINT`,
or causing a reverted execution is considered to fail validation,
and the transaction is rejected and not included on-chain.

These callbacks may be called either by the account directly or inside a `DELEGATECALL` that runs in the context of the account.
If a callback is called in the context of any other contract during the validation frame, the transaction is rejected and not included on-chain.

#### Paymaster validation frame

The `paymaster` of the transaction, if specified, is invoked with the following data:
Expand Down Expand Up @@ -407,6 +410,9 @@ making multiple calls to the `AA_ENTRY_POINT`,
or causing a reverted execution is considered to fail validation,
and the transaction is rejected and not included on-chain.

These callbacks may be called either by the paymaster directly or inside a `DELEGATECALL` that runs in the context of the paymaster.
If a callback is called by any other contract during the validation frame, the transaction is rejected and not included on-chain.

#### Sender execution frame

The `sender` address is invoked with `executionData` input.
Expand Down