Skip to content

ABI output should include referenced events, not just defined #305

@DaniPopes

Description

@DaniPopes

Describe the feature

Contract ABI output should include events and custom errors referenced in the contract, even if not defined in the contract/inheritance.

For example, an event defined in the global scope and emitted in the constructor or any function will not currently be recorded.

In practice it's not that big of a deal if this is missing, however we should match the solc output which does this.

This requires type checking and a resolved call graph.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-semaArea: semantic analysisC-enhancementCategory: an issue proposing an enhancement or a PR with oneE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.P-lowLow priorityS-blockedStatus: this cannot more forward until something else changes

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions