8000 feat(`forge build`): introduce solc settings dependent caches · Issue #10673 · foundry-rs/foundry · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
feat(forge build): introduce solc settings dependent caches #10673
Open
@sakulstra

Description

@sakulstra

Component

Forge

Describe the feature you would like

When building a multi-chain project the foundry caching is too limited as it will throw away the cache and recompile the whole codebase. Especially on bigger projects this is a huge limitation as for one chain you might need to compile with london(e.g. linea), the next with shanghai(e.g. metis) and the third with cancun.
On the aave codebase and related projects foundry becomes nearly unusable as on every switch you might need to recompile 500 files bringing development to a halt.

Additional context

There is a related problem I described here:
#9840, this feature request tried to separate this into two distinct problems. One is the caching (this issue), while the other one is the inability to reliably run multichain scripts (the other one).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0