foundry-rs / foundry-rs/foundry

Add test coverage support for Vyper contracts

Open
#5,411 5 comments 3 reactions 0 assignees View on GitHub
A-compatibility A-compiler Cmd-forge-coverage T-feature
Dominant language
Rust
Stars
10.6k
Forks
2.6k
Avg merge
18h 20m
Merged PRs (30d)
510

Description

### Component

Forge

### Describe the feature you would like

Since @gakonst deliberately asked for it [here](https://twitter.com/gakonst/status/1680145708676939778) ;-), I would love to see a tooling around test coverage for Vyper contracts using the Vyper deployer approach via `ffi`. That's one of the missing pieces in my [snekmate](https://github.com/pcaversaccio/snekmate) repo. I reckon that the same (or similar) solution for this feature could also be carried over to Huff or Fe contracts later.

### Additional context

My version of the `VyperDeployer` can be found [here](https://github.com/pcaversaccio/snekmate/blob/main/lib/utils/VyperDeployer.sol).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.