Comments (2)
Update: Patched in v0.8.10 (& a little more in 0.8.11)
#870 is reporting some missing line coverage. The instrumentation disappears in two cases:
uint24 quantity = _cancelOrdersSide(_orderIds[i], price, bidsAtPrice[tokenId][price], bids[tokenId]);
brushFromUs += quantity * price; // <--- not covered
for (uint i = _index; i < _segments.length.sub(1); ++i) {
_segments[i] = _segments[i.inc()]; // <--- not covered
}
Compiling with 0.8.24
Something to note is that the instrumentation is preserved if console.log statements are added, so there must be a way to make it sticky.
from solidity-coverage.
Related Issues (20)
- Coverage overwrites provider logic in extendEnvironment hook HOT 9
- uncovered else statements HOT 1
- ParserError solidity-coverage: v0.8.5 Solidity 0.8.19 HOT 3
- modifierWhitelist causes inaccurate coverage HOT 3
- Specify minimum coverage HOT 1
- v0.9.0 Road Map
- ...
- Update tests
- Running solidity-coverage against a generic RPC node HOT 12
- Small docs Improvements
- Unskip stack-too-deep unit test HOT 1
- Try/Catch should be treated as branch
- 0% coverage when using hardhat-foundry & foundry.toml is present HOT 15
- Add tests for file level function declarations
- feature: track config state in Hardhat cache
- Branch coverage decreases after upgrading to 0.8.7 HOT 10
- Verify skipFiles works as expected when using hardhat-foundry HOT 3
- Line Coverage Decreases in v0.8.9 + viaIR=true HOT 9
- Error: Bytecode is not a valid hex string using OZ upgrades deployProxy HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solidity-coverage.