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

[DB] Support writeParams #242

Closed
pikonha opened this issue Nov 29, 2024 · 1 comment
Closed

[DB] Support writeParams #242

pikonha opened this issue Nov 29, 2024 · 1 comment
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 writeParams(
    bytes calldata name,
    bytes calldata data
)
    external
    view;

Architecture Diagram

sequenceDiagram
  User ->> Client: Asks to set a text for test.eth
  Client ->> Client: namehash(name) = node
  Client ->> DBResolver: writeParams(name, calldata)
  L1Resolver -->> Client: OffchainMetadata{domain, url, message}
  Client ->> Gateway: HTTP request
  Gateway -->> Database: update data
Loading
@pikonha pikonha self-assigned this Nov 29, 2024
@pikonha pikonha moved this to 🔖 TODO in ENS Nov 29, 2024
@pikonha pikonha added this to ENS Nov 29, 2024
@pikonha pikonha changed the title [DB] Support writeParams request [DB] Support writeParams 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
Copy link
Contributor Author

pikonha commented Dec 4, 2024

done by #241

@pikonha pikonha closed this as not planned Won't fix, can't repro, duplicate, stale Dec 4, 2024
@github-project-automation github-project-automation bot moved this from 🔖 TODO to ✅ Done in ENS Dec 4, 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: ✅ Done
Development

No branches or pull requests

1 participant