Skip to content

Conversation

elopez
Copy link
Member

@elopez elopez commented Jun 26, 2025

This implements automatic dependency resolution and linking of libraries through crytic-compile, using the existing internal mechanism provided by --compile-libraries. The chosen library deployment addresses are provided on a <key>.link JSON file when using the solc export format. This can be then used by fuzzers or other tools that would like to deploy contracts that require external libraries.

@elopez elopez changed the base branch from master to dev June 26, 2025 19:09
This implements automatic dependency resolution and linking of
libraries through crytic-compile, using the existing internal
mechanism provided by `--compile-libraries`. The chosen library
deployment addresses are provided on a `<key>.link` JSON file when
using the solc export format. This can be then used by fuzzers or
other tools that would like to deploy contracts that require
external libraries.
elopez added 2 commits July 21, 2025 21:32
A library may live on its own source unit, separate from the
contract that uses it, so we need to clean up the target contracts
set at the end.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant