Skip to content

Build a DecodeContext Struct That Carries CLI Config into Every Analyzer #233

@codeZe-us

Description

@codeZe-us

The decode pipeline needs a shared context object, network, RPC URL, verbosity, and output format, passed through from the CLI into every analyzer. Without it, analyzers either hardcode values or cannot access runtime config.

  • Define a DecodeContext struct with fields for network, RPC URL, verbosity level, and output format
  • Implement a builder pattern so the CLI can construct the context from parsed arguments and pass it down

Expectations: Every analyzer in the decode pipeline receives its configuration through DecodeContext with no global state or hardcoded values.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions