Skip to content

EOF Source Locations #15978

Open
Open
@veniger

Description

@veniger

Description

Currently when compiling contracts to the EOF the compiler does not output any debug information, either trough legacy source maps or the new EthDebug format. Implement a form of source location output.

Why

Even though EOF is in the earliest stages, tooling support should be considered, since having debuggers for EOF earlier, could help users transition faster

Additionally, though Osaka is not very close for mainnet, there should be a buffer for debugging tools to catch up to solc, before it is possible to deploy even on testnets. Additionally, some test chains based on reth have already forked EOF support (like Odyssey)

Steps

  • Output Source Maps/EthDebug Format for unoptimized code
  • Output Source Maps/EthDebug Format for optimized code

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions