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

Add ERC: Account Abstraction Validation Scope Rules #105

Merged
merged 16 commits into from
Feb 27, 2024

Conversation

drortirosh
Copy link
Contributor

When opening a pull request to submit a new EIP, please use the suggested template: https://github.com/ethereum/EIPs/blob/master/eip-template.md

We have a GitHub bot that automatically merges some PRs. It will merge yours immediately if certain criteria are met:

  • The PR edits only existing draft PRs.
  • The build passes.
  • Your GitHub username or email address is listed in the 'author' header of all affected PRs, inside .
  • If matching on email address, the email address is the one publicly listed on your GitHub profile.

@eip-review-bot
Copy link
Collaborator

eip-review-bot commented Nov 17, 2023

✅ All reviewers have approved.

@eip-review-bot eip-review-bot changed the title extract AA validation rules from ERC-4337 to a separate erc Add ERC: Account Abstraction Validation Scope Rules Nov 17, 2023
@github-actions github-actions bot added the w-ci label Nov 17, 2023
ERCS/erc-aa-rules.md Outdated Show resolved Hide resolved
ERCS/erc-aa-rules.md Outdated Show resolved Hide resolved
@drortirosh
Copy link
Contributor Author

@abcoathup - This ERC references EIP-1153, (transient storage), but the linter keeps complaining that ERC-1153 doesn't exist...
how can we proceed?

@drortirosh drortirosh changed the title Add ERC: Account Abstraction Validation Scope Rules Add ERC-7562: Account Abstraction Validation Scope Rules Nov 22, 2023
@eip-review-bot eip-review-bot changed the title Add ERC-7562: Account Abstraction Validation Scope Rules Add ERC: Account Abstraction Validation Scope Rules Nov 23, 2023
@github-actions github-actions bot added w-ci and removed w-ci labels Nov 23, 2023
@drortirosh
Copy link
Contributor Author

@abcoathup, @SamWilsn - can you explain why this PR can't be merged? it passes all validations in this ERC (all reported errors by "HTML proofer" are in other, unrelated ercs...)

@drortirosh drortirosh changed the title Add ERC: Account Abstraction Validation Scope Rules Add ERC-7562: Account Abstraction Validation Scope Rules Nov 26, 2023
@github-actions github-actions bot removed the w-ci label Nov 26, 2023
misc changes
@github-actions github-actions bot added w-ci and removed w-stale labels Feb 24, 2024
@github-actions github-actions bot removed the w-ci label Feb 25, 2024
Copy link

The commit 47df0e0 (as a parent of 31154b1) contains errors.
Please inspect the Run Summary for details.

@github-actions github-actions bot added the w-ci label Feb 25, 2024
@github-actions github-actions bot removed the w-ci label Feb 25, 2024
Copy link
Collaborator

@SamWilsn SamWilsn left a comment

Choose a reason for hiding this comment

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

Looking good! If you tick the "allow edits from maintainers" checkbox on the pull request, I can make these edits directly and save some round trips.

ERCS/erc-7562.md Outdated Show resolved Hide resolved
ERCS/erc-7562.md Outdated Show resolved Hide resolved
ERCS/erc-7562.md Outdated Show resolved Hide resolved
ERCS/erc-7562.md Outdated Show resolved Hide resolved
ERCS/erc-7562.md Outdated Show resolved Hide resolved
ERCS/erc-7562.md Outdated Show resolved Hide resolved
ERCS/erc-7562.md Outdated Show resolved Hide resolved
ERCS/erc-7562.md Outdated Show resolved Hide resolved
ERCS/erc-7562.md Outdated Show resolved Hide resolved
type: Standards Track
category: ERC
created: 2023-09-01
---
Copy link
Collaborator

Choose a reason for hiding this comment

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

These proposals seem like they'd be important to read before implementing the rules referencing them (OP-70 / OP-62).

Suggested change
---
requires: 1153, 7212
---

Copy link
Contributor Author

Choose a reason for hiding this comment

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

both 1153 and 7212 are optional.
We do declare the validation rules in their presence, but the rules are valid even on networks they are missing, so "requires" seems like a strong word. Is there an equivalent "optional" ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Dror, I know it's a bit confusing but requires here means "to understand this EIP/ERC, it requires the other EIP/ERC listed here". It doesn't mean the other EIP/ERCs listed in requires is a Specification-wise dependency.

It seems in the context 1153 and 7212 are a fit for the requires. I'd also include 4337.

That said, I won't consider having or not having these requires a blockage for merge as Status: Draft

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I can't include erc-4337, since 4337 actually requires this one, and it would cause a circular dependency.
I strongly suggest that if "requires" means "it is a mere reference for understanding this erc", then it should be renamed accordingly.
(btw: the HTML processor could generate these "references" automatically. an editor should explicitly specify what is really "required".

drortirosh and others added 2 commits February 26, 2024 23:54
Co-authored-by: Sam Wilson <57262657+SamWilsn@users.noreply.github.com>
- clarify motivation and rationale
- clearly define eip-7212 and erc-1153 as optional
xinbenlv
xinbenlv previously approved these changes Feb 27, 2024
Copy link
Collaborator

@xinbenlv xinbenlv left a comment

Choose a reason for hiding this comment

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

Good as a Draft

@eip-review-bot eip-review-bot enabled auto-merge (squash) February 27, 2024 01:53
Copy link
Collaborator

@eip-review-bot eip-review-bot left a comment

Choose a reason for hiding this comment

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

All Reviewers Have Approved; Performing Automatic Merge...

Copy link
Collaborator

@eip-review-bot eip-review-bot left a comment

Choose a reason for hiding this comment

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

All Reviewers Have Approved; Performing Automatic Merge...

eip-review-bot
eip-review-bot previously approved these changes Feb 27, 2024
Copy link
Collaborator

@eip-review-bot eip-review-bot left a comment

Choose a reason for hiding this comment

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

All Reviewers Have Approved; Performing Automatic Merge...

auto-merge was automatically disabled February 27, 2024 10:09

Head branch was pushed to by a user without write access

@eip-review-bot eip-review-bot enabled auto-merge (squash) February 27, 2024 14:58
Copy link
Collaborator

@eip-review-bot eip-review-bot left a comment

Choose a reason for hiding this comment

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

All Reviewers Have Approved; Performing Automatic Merge...

@eip-review-bot eip-review-bot merged commit b2f2484 into ethereum:master Feb 27, 2024
10 of 18 checks passed
Copy link

@Cucumber007ice Cucumber007ice left a comment

Choose a reason for hiding this comment

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

The

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

Successfully merging this pull request may close these issues.

7 participants