blockful-io / external-resolver

This project aims to scale the Ethereum Name Service (ENS) by consolidating existing patterns and proofs of concept into a unified and production-ready codebase.
MIT License
14 stars 3 forks source link

Registry on database when exists in the L1 #128

Closed pikonha closed 4 months ago

pikonha commented 4 months ago

Bug Report

Current behavior

Registering a new domain using the ENS contracts leads to a failure when setting records due to the domain being missing from the database.

Expected behavior

The gateway should allow setting properties of a domain when the signer owns the domain on Ethereum.

Steps to reproduce

  1. fork Ethereum locally (any network where your domain lives)
    • anvil --fork-chain-id 11155111 --fork-url https://ethereum-sepolia.rpc.subquery.network/public --fork-block-number <CURRENT_BLOCK>
  2. call any writing method on it without calling the register method, this will ensure the domain is missing on the local DB

Related code

insert short code snippets here

Other information