Skip to content

Change how config value is used in lib functions #770

@tk-o

Description

@tk-o

Files under apps/ensindexer/src/lib/* path should not directly import config from @/config. Instead, functions in those file should require relevant config slice (i.e. Pick<ENSIndexerConfig, "ensDeploymentChain" | "plugins">) from the application-level caller.

Application level caller might be located in: a handlers file, ponder.config.ts file, ponder.schema.ts file. In short, all files which ponder uses as its entrypoints.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions