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
10 stars 3 forks source link

Validate chainID from signature #135

Closed pikonha closed 1 month ago

pikonha commented 2 months ago

Description

The gateway should not handle calls from an unexpected chain ID to avoid having entities from different networks on the same database.

Expected solution

Decode the chain ID from the signature.domain.chainId typed signature and verify whether this is the expected chain the gateway is operating on.