ava-labs / ava-labs/reforge

Key expanded source by version

Open
#30 0 comments 0 reactions 0 assignees View on GitHub
bug enhancement good first issue rust
Dominant language
Rust
Stars
0
Forks
0
Avg merge
10d 6h
Merged PRs (30d)
4

Description

## Problem

Currently the expanded source is global shared state that is re-populated each time solc is run. Forge specifically documents that a source may be compiled multiple times across different solc versions. Currently, multiple runs would overwrite each other.

## Proposed solution

Expanded sources should be keyed by version so no expansions are lost

Contributor guide

Open the contributing guide

Research direction

Start by locating the global expanded-source state in the Rust macro expansion pipeline and trace how it is repopulated when Forge invokes solc. Verify the behavior across repeated compilations with different solc versions; done means each version retains its own expanded sources without overwriting another version.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, solidity
Domain
compilers, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.