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
@elopez elopez force-pushed the dev-autolink branch 2 times, most recently from b8ecb8f to a4727a2 Compare June 26, 2025 19:17
@elopez elopez deleted the branch master January 20, 2026 13:43
@elopez elopez closed this Jan 20, 2026
@elopez elopez reopened this Jan 20, 2026
@elopez elopez changed the base branch from dev to master January 20, 2026 13:52
elopez and others added 3 commits January 20, 2026 11:26
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.
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.
- Remove unused type: ignore comment in crytic_compile.py
- Update docstring return type to modern syntax in solc.py

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Sort imports correctly
- Remove unnecessary mode argument from open()

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

3 participants