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 ERC-7683: Extending the standard #689

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

mrice32
Copy link
Contributor

@mrice32 mrice32 commented Oct 28, 2024

This PR proposes a few updates to ERC-7683. These updates are intended to make the language and functionality in the ERC capture more use cases than originally foreseen, require less (or no) protocol-specific code and casework for fillers, and provide visibility into the opaque bytes fields used in the standard.

See this PR for wider discussion of these changes.

Notable changes:

  1. Terminology: initiate is now called open. swap has been replaced with transfer throughout.
  2. The ERC now standardizes the fill function and process (i.e. the function on the destination chain).
  3. Because protocols may require information or state from the origin transaction (open), the standard now requires that the resolved order includes FillInstructions, which tells the filler what data needs to be included in which destination transactions. The resolved order is now returned by open and emitted in an Open event.
  4. The ERC now includes an onchain method as opposed to just a gasless one. This ensures that the standard can support both private mempool (gasless, usually) and public mempool order submission mechanisms.
  5. The ERC now provides (currently stub) repos for sharing orderData subtypes and fillerData subtypes.
  6. The ERC now explicitly supports flows where the fill happens before open.
  7. Add a type parameter to identify the order subtypes.

@eip-review-bot
Copy link
Collaborator

eip-review-bot commented Oct 28, 2024

✅ All reviewers have approved.

@eip-review-bot eip-review-bot enabled auto-merge (squash) October 28, 2024 15:09
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...

@mrice32 mrice32 changed the title Update ERC-7683: Extending the standard in various ways Update ERC-7683: Extending the standard Oct 28, 2024
@github-actions github-actions bot added the w-ci label Oct 28, 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 October 30, 2024 02:26

Head branch was pushed to by a user without write access

@eip-review-bot eip-review-bot enabled auto-merge (squash) October 30, 2024 02:27
eip-review-bot
eip-review-bot previously approved these changes Oct 30, 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 October 30, 2024 02:37

Head branch was pushed to by a user without write access

@eip-review-bot eip-review-bot enabled auto-merge (squash) October 30, 2024 02:38
eip-review-bot
eip-review-bot previously approved these changes Oct 30, 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 October 30, 2024 02:40

Head branch was pushed to by a user without write access

@github-actions github-actions bot removed the w-ci label Oct 30, 2024
@eip-review-bot eip-review-bot enabled auto-merge (squash) October 30, 2024 02:41
eip-review-bot
eip-review-bot previously approved these changes Oct 30, 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 October 30, 2024 02:45

Head branch was pushed to by a user without write access

@eip-review-bot eip-review-bot enabled auto-merge (squash) October 30, 2024 02:46
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 October 30, 2024 02:50

Head branch was pushed to by a user without write access

@eip-review-bot eip-review-bot enabled auto-merge (squash) October 30, 2024 02:51
eip-review-bot
eip-review-bot previously approved these changes Oct 30, 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...

@github-actions github-actions bot added the w-ci label Oct 30, 2024
auto-merge was automatically disabled October 30, 2024 03:22

Head branch was pushed to by a user without write access

@eip-review-bot eip-review-bot enabled auto-merge (squash) October 30, 2024 03:23
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

The commit eec9ba7 (as a parent of 7940adb) contains errors.
Please inspect the Run Summary for details.

auto-merge was automatically disabled October 30, 2024 22:15

Head branch was pushed to by a user without write access

@eip-review-bot eip-review-bot enabled auto-merge (squash) October 30, 2024 22:16
eip-review-bot
eip-review-bot previously approved these changes Oct 30, 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 October 30, 2024 22:18

Head branch was pushed to by a user without write access

@github-actions github-actions bot removed the w-ci label Oct 30, 2024
@eip-review-bot eip-review-bot enabled auto-merge (squash) October 30, 2024 22:18
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...

Signed-off-by: Matt Rice <matthewcrice32@gmail.com>
auto-merge was automatically disabled October 30, 2024 22:19

Head branch was pushed to by a user without write access

@eip-review-bot eip-review-bot enabled auto-merge (squash) October 30, 2024 22:20
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 c64bce3 into ethereum:master Oct 30, 2024
9 of 10 checks passed
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.

2 participants