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

Support getDeferralHandler on the EIP-5559 #241

Open
pikonha opened this issue Nov 29, 2024 · 0 comments · May be fixed by #245
Open

Support getDeferralHandler on the EIP-5559 #241

pikonha opened this issue Nov 29, 2024 · 0 comments · May be fixed by #245
Assignees
Labels
enhancement New feature or request

Comments

@pikonha
Copy link
Contributor

pikonha commented Nov 29, 2024

Feature Request

As discussed by the community, the wildcard writing standard should be based on a mixing of the EIP-5559 and CCIP-Read by introducing a writeParams call that returns all the required data for the offchain transaction.

Describe Preferred Solution

Support the writeParams call (signature below) and revert it using the EIP-5559 custom errors.

function getDeferralHandler(bytes calldata data) external view;

Architecture Diagram

sequenceDiagram
	participant User
	participant Client
	participant L1Resolver

	User ->> Client: Asks to set a text for test.eth
        Client ->> L1Resolver: getDeferralHandler(calldata)
	L1Resolver -->> Client: StorageHandledByL2{chainId, address}
	Client ->> L2Resolver: setText(node, key, value)
	L2Resolver ->> L2Resolver: Update data
Loading
@pikonha pikonha moved this to 🔖 TODO in ENS Nov 29, 2024
@pikonha pikonha added this to ENS Nov 29, 2024
@pikonha pikonha self-assigned this Nov 29, 2024
@pikonha pikonha added the enhancement New feature or request label Nov 29, 2024
@pikonha pikonha added this to the Offchain Resolver ENSIP milestone Nov 29, 2024
@pikonha pikonha changed the title [L2] Support writeParams function [L2] Support writeParams Nov 29, 2024
@pikonha pikonha moved this from 🔖 TODO to 🛠️ In Progress in ENS Dec 2, 2024
@pikonha pikonha linked a pull request Dec 4, 2024 that will close this issue
10 tasks
@pikonha pikonha linked a pull request Dec 4, 2024 that will close this issue
10 tasks
@pikonha pikonha moved this from 🛠️ In Progress to 🕵️‍♀️ In Review in ENS Dec 4, 2024
@pikonha pikonha changed the title [L2] Support writeParams Support writeParams Dec 4, 2024
@pikonha pikonha changed the title Support writeParams Support getDeferralHandler on the EIP-5559 Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 🕵️‍♀️ In Review
Development

Successfully merging a pull request may close this issue.

1 participant