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

AA-340: Update the RIP-7560 with the EIP-7702 transaction type fields #7

Merged
merged 4 commits into from
Oct 20, 2024

Conversation

forshtat
Copy link

No description provided.

@@ -217,10 +225,20 @@ struct TransactionType4 {
bytes paymasterData;
bytes callData;
bytes signature;
address[] authorizationList;
bool[] authorizationListStatus;

Choose a reason for hiding this comment

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

maybe better to provide authorizedList and failedAuthorizationList (which is expected to be empty)

Copy link
Author

Choose a reason for hiding this comment

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

Just talked to @shahafn about that - we could not see how would it make it better? Appears to provide the exact same information (except, maybe, losing the ordering - which might even be a downside in some edge-cases) and not improving anything.
I prefer the bool[] approach.

@forshtat forshtat changed the title Update the RIP-7560 with the EIP-7702 transaction type fields AA-340: Update the RIP-7560 with the EIP-7702 transaction type fields May 29, 2024
RIPS/rip-7560.md Outdated
@@ -61,7 +61,7 @@ smart contracts. This, however, is impossible without an addition of Native Acco
| Name | Value |
|-----------------------|---------------------------------------------------------------------------------|
| FORK_BLOCK | TBD |
| AA_TX_TYPE | 4 |
| AA_TX_TYPE | 126 |
Copy link

@sm-stack sm-stack Jun 10, 2024

Choose a reason for hiding this comment

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

I'm afraid that 126 is a deposit tx type at Optimism. Relative docs at optimism specs here.

@forshtat forshtat marked this pull request as draft September 10, 2024 15:32
@forshtat forshtat marked this pull request as ready for review October 6, 2024 10:15
Copy link

@shahafn shahafn left a comment

Choose a reason for hiding this comment

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

authorizationList

@forshtat forshtat merged commit 2e1ff0e into master Oct 20, 2024
@forshtat forshtat deleted the RIP7560-add-setcode-after-EIP7702 branch October 20, 2024 15:54
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.

4 participants