Skip to content

Specify compatibility with ERC-7786#2

Open
ernestognw wants to merge 55 commits intoOffchainLabs:broadcaster-ercfrom
ernestognw:broadcaster-erc
Open

Specify compatibility with ERC-7786#2
ernestognw wants to merge 55 commits intoOffchainLabs:broadcaster-ercfrom
ernestognw:broadcaster-erc

Conversation

@ernestognw
Copy link

@ernestognw ernestognw commented Jun 6, 2025

This PR adds optional ERC-7786 gateway interface compatibility to ERC-7888, enabling integration with standardized cross-chain messaging infrastructure.

Key Changes:

  • Added ERC-7786 Compatibility section with optional interfaces for IBroadcaster and IReceiver
  • Provided concrete code examples showing how to implement IERC7786GatewaySource and IERC7786GatewayDestination
  • Integration supports ERC-7889 storage proof attributes for seamless interoperability
  • Added rationale explaining benefits: ecosystem compatibility, standardized attributes, and future-proofing
  • Maintained backward compatibility - all changes are optional (MAY implementations)

This positions ERC-7888 as both a standalone standard and a compatible component of the broader cross-chain messaging ecosystem, without breaking existing functionality.

type: Standards Track
category: ERC
created: 2025-02-18
requires: 7786
Copy link
Author

Choose a reason for hiding this comment

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

It should be ethereum#1072 instead once it has a number, will update then

ernestognw and others added 23 commits June 6, 2025 17:38
Signed-off-by: coderwander <770732124@qq.com>
* Update IERC6464.sol

* Update ILockingContract.sol

* Update LibAccessLayers.sol
Merged by EIP-Bot.
elizabethxiaoyu and others added 27 commits June 16, 2025 12:50
* fixed broken link

* fixed broken links

* Update README.md

* Update foundry.toml

---------

Co-authored-by: Sam Wilson <57262657+SamWilsn@users.noreply.github.com>
Signed-off-by: dockercui <dockercui@aliyun.com>
Merged by EIP-Bot.
Merged by EIP-Bot.
* feat: ERC initial draft

* fix: frangios feedback

* add wonderland & 7828 authors

* standardize appendix A & B structure and make solana chainids compatible with caip-2

* chore: fix formatting

* feat: zero-length addresses or chainids

* fix: add dots so human-readable names can use ENS and similar hierarchical registries

* feat: we have a number!

* fix: feedback from bot

* chore: editorial changes

* chore: appease the bot

* fix: EVM EOF clarification

* fix: include chain namespace in human-readableaddress

* fix: remove mentions of 20-byte addresses

* feat: do not truncate chain references for either eip155 or solana

* chore: update examples

* forward-compatibility bit

* update front matter

* fix wrong checksum

* editorial changes

* move serialization table to CASA profile

* fix: small fixes to CI issues

* fix: point to actual CAIP file

* feat: canonicity security consideration

* feat: an attempt at better naming of the standard's concepts

* chore: update CAIP-350 link (which is not yet valid)

* chore: editorial changes by lumi

* feat: change separator

* docs: L2 example

* fix: typos and link uniformity

* fix: typo on link

* chore: dont link to CAIP-350

* chore: link to ERC-7785

* feat: walk back on separator

* fix: suggestion by @0xmoebius

Co-authored-by: moebius <132487952+0xmoebius@users.noreply.github.com>

* chore: correctly refer to ERC-55

* chore: link to CAIPs and fix ERC links, as suggested by sam wilson

* fix: feedback from amxx

* fix: incorrect hashes, reported by amxx

* fix: remove trailing colon when there's no chainid

* fix: address checksum without version

* chore: remove example, rephrase and format

* chore: remove unnecessary text

* docs: new abstract defining how

* docs: eip1 format for rfc 4648

* docs: move subsection into motivation section

* docs: add CAIP-350 link using eip-1

---------

Co-authored-by: Skeletor Spaceman <92943766+skeletor-spaceman@users.noreply.github.com>
Co-authored-by: moebius <132487952+0xmoebius@users.noreply.github.com>
Co-authored-by: moebius <0xmoebius@protonmail.com>
Co-authored-by: euler <euler@wonderland.xyz>
@ernestognw
Copy link
Author

Diff should get good after merging @ethereum/ERCs master branch back to OffchainLabs/ERCs

godzillaba pushed a commit that referenced this pull request Jan 13, 2026
* Create erc.md

* Rename erc.md to erc-permissionless_create2_factory.md

* Add discussion link

* Fix Minor Typo

Just fixes a small inconsistency where we were using `||` and `++` for byte concatenation. Prefer the former.

* Fix Heading for 3rd Existing Method

* Add More Context about Using Private Key (#2)

* Minor Edits

- Remove duplicate linking to EIP-7702 (only first one should be
linked)
- Remove trailing whitespace
- Fix spelling error

* Fix Requires Reference

Requires should be _just_ numbers without the `EIP-` or `ERC-` prefix.
This causes issues with the generated HTLM and proofer.

* Title Case Sections

Fixed some section titles that weren't titlecased correctly.

* Use `RETURNDATASIZE` Instead of `PUSH0`

In order to not depend on EIP-3855 `PUSH0` opcode, we refactor the
factory code to use `RETURNDATASIZE` which is guaranteed to be
`0` **except** for when `CREATE2` reverts.

With a little bit of moving code around, we also managed to change
make the code one byte smaller and fit into a 32-byte word.

* Typos

* Use eip number

* Fix Section Lint

The ERC lint does not like additional top level sections, so move the
"custom" forwards compatibility section into a subsection of the
backwards compatibility

* Remove Non-relative Links

We remove all non-relative links, as the ERC linter does not allow
them. This is slightly unfortunate, since they did provide additional
context to the ERC, but 🤷.

Note that we format GitHub repositories with italicized title and code
for them to stand out:

```
_Title_ (`org/repo`)
```

* Edits to ERC (ethereum#4)

* Edits to ERC

This PR implements the suggested edits to the ERC, and adds a new
section explaining the rationale why Nick's method cannot be used for
generating the EIP-7702 authorization signature (since it was a
question on Ethereum magicians).

* Some small follow-up edits

* Another small edit

* Clarify reverts cause.

Co-authored-by: Shebin John <admin@remedcu.com>

---------

Co-authored-by: Shebin John <admin@remedcu.com>

* Fix Description

The description included a forbidden word, remove it.

---------

Co-authored-by: Nicholas Rodrigues Lordello <n@lordello.net>
Co-authored-by: Nicholas Rodrigues Lordello <nick@safe.global>
Co-authored-by: Shebin John <admin@remedcu.com>
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.