Skip to content

Instantly share code, notes, and snippets.

@LCamel
Created May 24, 2023 10:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LCamel/d62cc71fa55af4fe9679787168976361 to your computer and use it in GitHub Desktop.
Save LCamel/d62cc71fa55af4fe9679787168976361 to your computer and use it in GitHub Desktop.
hashtower.sol
% yarn workspace hashtower.sol test:coverage
Version
=======
> solidity-coverage: v0.8.2
Instrumenting for coverage...
=============================
> HashTowerHashChain.sol
> test/HashTowerHashChainTest.sol
Compilation:
============
Generating typings for: 3 artifacts in dir: typechain-types for target: ethers-v5
Successfully generated 14 typings!
Compiled 3 Solidity files successfully
Network Info
============
> HardhatEVM: v2.13.0
> network: hardhat
HashTowerHashChainTest
✔ Should produce correct count, digests and digest of digests (9510ms)
✔ Should have the same output as the Javascript fixture) (19088ms)
2 passing (29s)
-----------------------------|----------|----------|----------|----------|----------------|
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines |
-----------------------------|----------|----------|----------|----------|----------------|
contracts/ | 100 | 91.67 | 100 | 100 | |
HashTowerHashChain.sol | 100 | 91.67 | 100 | 100 | |
contracts/test/ | 100 | 100 | 100 | 100 | |
HashTowerHashChainTest.sol | 100 | 100 | 100 | 100 | |
-----------------------------|----------|----------|----------|----------|----------------|
All files | 100 | 91.67 | 100 | 100 | |
-----------------------------|----------|----------|----------|----------|----------------|
> Istanbul reports written to ./coverage/ and ./coverage.json
% git log | head -n 3
commit 98ae393116098304a31c700f053e8442589d95a1
Author: Luoh Ren-Shan (LCamel) <lcamel@gmail.com>
Date: Wed May 17 21:38:21 2023 +0800
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment