Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

ENS Web3.js Plugin with Caching- Add LRU Caching to Resolver for ENS Performance  #7180

Open
@uchebuego

Description

@uchebuego

Expected behavior

The Resolver class should efficiently cache resolver contracts for frequently queried ENS names, reducing network requests and improving performance.

Actual behavior

The Resolver class makes a network request for each ENS name query, which is not necessary.

Steps to reproduce the behavior

  1. Steps to reproduce the behavior
  2. Query the same ENS name multiple times.
  3. Observe repeated network requests for each query.

Metadata

Metadata

Assignees

Labels

4.x4.0 relatedEnhancementIncludes improvements or optimizations

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions