Skip to content

ZumZoom/solidity-coverage-via-ir

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

solidity Coverage with ViaIR

Showcase how solidity coverage workaround fails with "stack too deep" while using to use viaIR

Prerequisites

What things you need to install the software and how to install them

# Install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
# Install proper node version
nvm use

Create .env file (you can base on .env.example)

Installing

A step by step series of examples that tell you how to get a development env running

Say what the step will be

# Install the dependencies
npm install

Compile and Generate Types (VIA_IR=true)

In order to get contract types you can generate those typings when compiling

npm run compile

Running the tests (VIA_IR=false)

npm run test

Running the coverage (VIA_IR=true)

npm run coverage

About

showcase solidity coverage failing workarond to use via-ir

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 65.3%
  • JavaScript 26.8%
  • Solidity 7.9%