Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upstream sync #5

Open
wants to merge 196 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
196 commits
Select commit Hold shift + click to select a range
85f8384
Update buidler plugin for Hardhat compilation pipeline (#540)
scnale Oct 27, 2020
1e9ef8b
Split hardhat & builder / support HardhatEVM (#560)
cgewecke Nov 10, 2020
dba6e0c
Port Buidler tests to Hardhat (#561)
cgewecke Nov 10, 2020
fefeff6
Set network "from" / fix HH trace logic (#562)
cgewecke Nov 10, 2020
587a1f3
Add complex compilation test case (#563)
cgewecke Nov 10, 2020
0d74ff0
Add shared buidler / hardhat plugin entrypoint (#564)
cgewecke Nov 12, 2020
bab2a93
Remove death for hh & raise gas to maximum (#565)
cgewecke Nov 12, 2020
a68fefd
Attach to Hardhat VM for trace (#566)
cgewecke Nov 13, 2020
2cf6530
Add hardhat readme (#567)
cgewecke Nov 13, 2020
7bfaef4
Replace Web3 with thin rpc wrapper
cgewecke Nov 16, 2020
1dd9501
Replace Web3 with thin rpc wrapper (#568)
cgewecke Nov 16, 2020
e106076
Clean up & fixes for Hardhat PR (#569)
cgewecke Nov 16, 2020
f5ed5e5
Merge pull request #548 from sc-forks/hardhat
cgewecke Nov 16, 2020
c88eed2
Locate .coverage_contracts correctly for subfolder paths (#570)
cgewecke Nov 16, 2020
b6c4839
Allow truffle projects to contain vyper contracts (#571)
cgewecke Nov 16, 2020
e6e627b
Update main README with HH instructions (#572)
cgewecke Nov 16, 2020
c828d8b
0.7.12
cgewecke Nov 16, 2020
8660166
Update changelog: 0.7.12
cgewecke Nov 16, 2020
b020fc7
Disable temp folder logic for hardhat >= 2.0.4 (#581)
cgewecke Dec 3, 2020
0f47eb6
0.7.13
cgewecke Dec 3, 2020
1ed5228
Update changelog: 0.7.13
cgewecke Dec 3, 2020
b641167
Update parser to 0.10.1 and re-enable zeppelin e2e (#585)
cgewecke Dec 16, 2020
249ef9b
fix tagged param (#599)
ItsNickBarry Jan 8, 2021
9ab7757
Support file scoped function definitions (#605)
cgewecke Jan 15, 2021
abc0aa2
0.7.14
cgewecke Jan 15, 2021
5062c37
Update changelog: v0.7.14
cgewecke Jan 15, 2021
a743f2e
Fix pragma abicoder v2 instrumentation (#615)
cgewecke Feb 16, 2021
131ea6e
Hardhat: call process.exit on SIGINT (#616)
cgewecke Feb 16, 2021
72d6e41
0.7.15
cgewecke Feb 16, 2021
a360fb3
Update changelog: 0.7.15
cgewecke Feb 16, 2021
12144ee
Update @solidity-parser/parser to ^0.12.0 (#621)
cgewecke Mar 5, 2021
71bc199
0.7.16
cgewecke Mar 5, 2021
3c0f3a5
Update changelog: 0.7.16
cgewecke Mar 5, 2021
f0aa876
Add README link to globby package matching patterns
cgewecke May 13, 2021
b162bef
Override subtasks as subtasks, not tasks (#653)
feuGeneA Aug 26, 2021
bc19ef9
Fix hardhat-deploy compatibility (#647)
outdoteth Aug 26, 2021
4bc6b59
Update HARDHAT_README.md (#646)
fulldecent Aug 26, 2021
ba94880
Fix london gas bug / bump deps (#658)
cgewecke Aug 27, 2021
593d1e3
Add configureYulOptimizer option (#659)
cgewecke Aug 27, 2021
d2f65c5
0.7.17
cgewecke Aug 27, 2021
383c512
Credit contributors
cgewecke Aug 27, 2021
4c2410d
Merge branch 'master' of https://github.com/sc-forks/solidity-coverage
cgewecke Aug 27, 2021
022d7d8
Use internal visibility for fn level hash method defs (#660)
cgewecke Aug 28, 2021
67b711d
Add test fixture for solc-8 (#661)
cgewecke Aug 28, 2021
cdab28c
Add new hook and make temporary contracts directory configurable (#664)
rynobey Sep 9, 2021
3e30a53
Update hardhat to 2.8.2 (#680)
cgewecke Jan 14, 2022
5b7eb34
Fix hardhat_reset (#667) and add unit tests (#681)
cgewecke Jan 17, 2022
81c6b50
Add variable on global HH env identifying solidity-coverage task (#682)
cgewecke Jan 17, 2022
3300b23
Add solcOptimizerDetails option (#683)
cgewecke Jan 17, 2022
ba78c27
Add adjsib and Shelvak to contributors list
cgewecke Jan 17, 2022
d9d8ecd
0.7.18
cgewecke Jan 17, 2022
65e960f
Update changelong 0.7.18
cgewecke Jan 17, 2022
774e38b
Add rynobey to contributors list
cgewecke Jan 17, 2022
1cd0477
Fix README options table
cgewecke Jan 17, 2022
01f2d2d
Fix broken stack too deep link in README
cgewecke Jan 17, 2022
311b0fb
Update solidity-parser/parser to 0.14.0 (#690)
cgewecke Feb 9, 2022
6a5c6b3
Add ZumZoom to list of contributors
cgewecke Feb 9, 2022
6136b10
0.7.19
cgewecke Feb 9, 2022
e8f7958
Update changelog: 0.7.19
cgewecke Feb 9, 2022
57319fa
Fix code block formatting for solcOptimizerDetails in FAQ
cgewecke Feb 9, 2022
c69c11c
Remove Truffle patches (#693)
cgewecke Feb 15, 2022
6b0dab0
0.7.20
cgewecke Feb 15, 2022
c868bc7
Update changelog: v0.7.20
cgewecke Feb 15, 2022
6b36630
Update hardhat to 2.9.3
cgewecke Apr 5, 2022
6f5407e
Use resource_class: large for zeppelin job
cgewecke Apr 5, 2022
83e5452
Increase max_old_space_size
cgewecke Apr 5, 2022
db3183e
Merge pull request #706 from sc-forks/update-hardhat
cgewecke Apr 24, 2022
ede386e
Lazy load hh plugin resources (#711)
cgewecke Apr 24, 2022
95341a0
Add support for `UncheckedStatement` blocks (#712)
cgewecke Apr 24, 2022
d248caa
0.7.21
cgewecke Apr 24, 2022
5174ecd
Update changelog: 0.7.21
cgewecke Apr 24, 2022
9223656
Misc docs changes and rename plugin.ui.js
cgewecke Apr 26, 2022
9b173ae
Add branch coverage for logical OR conditions (#499)
cgewecke Apr 22, 2020
add4702
Update logical-or tests for Hardhat
cgewecke Dec 3, 2020
93214db
Update tests for solc 0.7.x (#582)
cgewecke Dec 4, 2020
b0952b0
Suppress compilation warnings introduced by injected trace statements…
cgewecke Dec 4, 2020
02cea3d
Remove truffle library backup copy (#584)
cgewecke Dec 4, 2020
64f205a
Add coverage for ternary conditionals (#587)
cgewecke Dec 8, 2020
f6f94c1
Add modifier-invocation-as-branch coverage (#588)
cgewecke Dec 15, 2020
2228faf
Use bytes8 instead of bytes32 as hash key (#590)
cgewecke Dec 17, 2020
e76a165
Add coverage measurement category options (#592)
cgewecke Jan 4, 2021
afd7ef0
Add test matrix generator (#593)
cgewecke Jan 5, 2021
b4f303c
Do not treat inheritance constructors as branches (#594)
cgewecke Jan 5, 2021
0c9a79e
Fix pre/post strategy for modifier coverage (#595)
cgewecke Jan 5, 2021
503d1b2
Allow duplicate modifiers on same function (#596)
cgewecke Jan 6, 2021
cd863d3
Add modifierWhitelist option (#597)
cgewecke Jan 6, 2021
d09ed17
Add ABI diff logic (#598)
cgewecke Jan 11, 2021
adcaab5
Add abi diff plugin method tests (#600)
cgewecke Jan 12, 2021
e9133d7
Generate mocha JSON output with --matrix (#601)
cgewecke Jan 13, 2021
7eb94a9
Update @solidity-parser/parser to 0.14.1
cgewecke Mar 29, 2022
3edfd25
Stop injecting statement coverage into conditionals
cgewecke Mar 29, 2022
d4e8536
Update tests for adjusted statement coverage
cgewecke Mar 29, 2022
29c0fdd
Fix constructor keyword test
cgewecke Mar 29, 2022
0deb001
Fix if/else tests
cgewecke Mar 29, 2022
88c1d00
Fix loops, modifiers, options and statements tests
cgewecke Mar 29, 2022
3bcec94
Fix rebase errors & regenerate yarn.lock
cgewecke Apr 26, 2022
d57a131
Remove buidler
cgewecke Apr 26, 2022
0ba3f11
Remove more buildler things
cgewecke Apr 26, 2022
cf126ea
Fix assert tests
cgewecke Apr 26, 2022
22992e1
Fix constructor test
cgewecke Apr 26, 2022
21ca46e
Temporarily skip truffle integration tests
cgewecke Apr 26, 2022
8ea8ec9
Fix true/false scoped method definition function visibilities
cgewecke Apr 26, 2022
26898c1
Remove Builder-E2E test
cgewecke Apr 26, 2022
16367d1
Remove truffle files from project
cgewecke Apr 26, 2022
a7db2fe
More README changes
cgewecke Apr 26, 2022
bc7d076
0.8.0 Additional Coverage Measurements & Restructure (Merge)
cgewecke Apr 26, 2022
05ab320
Fixes for Hardhat 2.11.0 (#740)
cgewecke Sep 5, 2022
ed3d504
Fix README for v0.8 release
cgewecke Sep 5, 2022
204a5eb
Added a section for the report location. (#739)
nslee333 Sep 5, 2022
9ce20ff
Typo / Grammar fix. (#738)
nslee333 Sep 5, 2022
4c63612
Add hardhat to peerDependencies (#722)
kevinji Sep 5, 2022
0a33e13
0.8.0
cgewecke Sep 5, 2022
eca0b78
Update changelog 0.8.0
cgewecke Sep 5, 2022
e265575
Restore web3-utils (#743)
cgewecke Sep 6, 2022
ef94da3
0.8.1
cgewecke Sep 6, 2022
6c7bfe7
Update changelog: 0.8.1
cgewecke Sep 6, 2022
8d49be0
Bump web3-utils to ^1.3.6 (#744)
markus0x1 Sep 8, 2022
9d24835
0.8.2
cgewecke Sep 8, 2022
e1416d9
Prepare for next hardhat version (#796)
fvictorio May 26, 2023
5aee556
Merge branch 'master' of https://github.com/sc-forks/solidity-coverage
cgewecke Jun 22, 2023
89882a2
0.8.3
cgewecke Jun 22, 2023
2b20b1a
Update solidity-parser to 0.16.0 (#802)
cgewecke Jul 4, 2023
4da00a8
0.8.4
cgewecke Jul 4, 2023
1d69897
Update changelog: 0.8.4
cgewecke Jul 4, 2023
d5c134b
Update mocha version to 10.2.0, fix deprecated debug package (#810)
ChristopherDedominici Sep 21, 2023
b56f209
Update HH dev dep & fix Zeppelin E2E test (#811)
cgewecke Sep 21, 2023
dea15cd
Remove all mentions to buidler (#778)
fvictorio Sep 21, 2023
c680e54
change `.solcoverjs` occurencies to `.solcover.js` (#777)
joaoh9 Sep 21, 2023
70a5084
Add a package description to package.json (#775)
Sep 21, 2023
255d700
Add dependabot config (#759)
jtakalai Sep 21, 2023
34beea7
Update contributor list (#812)
cgewecke Sep 21, 2023
bfe149c
0.8.5
cgewecke Sep 21, 2023
fb5fd6e
Update changelog: 0.8.5
cgewecke Sep 22, 2023
ecefedf
Use ^ in mocha dep (#814)
cgewecke Sep 22, 2023
bfb7e32
Add test named mapping keys solidity syntax (#816)
cgewecke Sep 28, 2023
5aa1652
Add drips funding config (#827)
cgewecke Jan 23, 2024
7c0f13a
Perform ternary conditional injections before branch injections (#828)
cgewecke Jan 25, 2024
bc54ef5
Upgrade solidity-parser to 0.18.0 (#829)
cgewecke Jan 25, 2024
9b64cba
Update faq.md with an optimizer config workaround (#822)
remedcu Jan 26, 2024
a6674c6
Fix chained ternary conditionals instrumentation (#830)
cgewecke Jan 26, 2024
70de9d4
Add test for file level `using for` statements (#831)
cgewecke Jan 26, 2024
658dc37
Fix instrumentation error for virtual modifiers (#832)
cgewecke Jan 26, 2024
abea00b
Throw error when mocha parallel is set to true (#833)
cgewecke Jan 26, 2024
54bfdbd
Document Istanbul `check-coverage` cli command (#834)
cgewecke Jan 27, 2024
ecd808c
Add test for modifiers with post-conditions (#835)
cgewecke Jan 29, 2024
16c2a04
Add test for multi-contract files with inheritance (#836)
cgewecke Jan 29, 2024
c60e89d
0.8.6
cgewecke Jan 29, 2024
8da877e
Update changelog: 0.8.6
cgewecke Jan 29, 2024
3f767d7
Add command option to specify the source files to run the coverage on…
cgewecke Feb 2, 2024
1c257b0
Remove migrations and skipped/stale tests from test suite (#840)
cgewecke Feb 2, 2024
fbed395
Restructure test folders / move npm commands to shell scripts (#841)
cgewecke Feb 2, 2024
66082b3
Upgrade solidity version in tests to 0.8.x (#843)
cgewecke Feb 2, 2024
b1ee826
Add test for transaction price errors with hardhat_mine (#845)
cgewecke Feb 3, 2024
c3c5615
[#844] Removed Contributor Section from README.md (#846)
remedcu Feb 3, 2024
6739db6
Use Hardhat client and ethers in unit tests (#847)
cgewecke Feb 4, 2024
c6eea4b
Remove ganache-cli related code from API & tests (#849)
cgewecke Feb 5, 2024
dc9d976
Use Node 20.11.0 in CircleCI for unit and integration tests (#850)
cgewecke Feb 5, 2024
ca695f0
Add missing onPreCompile stage hook (#851)
cgewecke Feb 5, 2024
d3a5b37
Small API docs edits
cgewecke Feb 5, 2024
4f007c7
Enable coverage when `viaIR` compiler flag is true (#854)
cgewecke Feb 9, 2024
01ab173
Fix test project configs for viaIR detection in overrides (#856)
cgewecke Feb 9, 2024
042a99e
Add try / catch unit tests (#857)
cgewecke Feb 9, 2024
44a999f
Add tests for file-level function declarations (#858)
cgewecke Feb 9, 2024
0ab1282
Documentation Cleanup & Improvements for 0.8.7 release (#859)
cgewecke Feb 9, 2024
ec5a296
0.8.7
cgewecke Feb 10, 2024
931645a
Update changelog: 0.8.7
cgewecke Feb 10, 2024
351696e
Reorder options & create subheadings (#862)
cgewecke Feb 12, 2024
7ad7288
Only inject file-level instr. for first pragma in file (#865)
cgewecke Feb 17, 2024
df58e0a
Coerce sources path to absolute path if necessary (#866)
cgewecke Feb 21, 2024
ac55331
0.8.8
cgewecke Feb 21, 2024
f1482cd
Update changelog: v0.8.8
cgewecke Feb 21, 2024
e6df717
Fix duplicate hash logic (#868)
cgewecke Feb 25, 2024
6839e92
Improve organization of edge case code in collector (#869)
cgewecke Feb 27, 2024
930e8e4
0.8.9
cgewecke Feb 27, 2024
32029b4
Update changelog: 0.8.9
cgewecke Feb 27, 2024
943a6fe
Check all PUSH opcodes for instr. hashes when viaIR is true (#871)
cgewecke Feb 29, 2024
cd30f57
0.8.10
cgewecke Feb 29, 2024
6b576ca
Update changelog: 0.8.10
cgewecke Feb 29, 2024
6236a8f
Check all SWAP opcodes for inst. hashes when viaIR is true (#873)
cgewecke Mar 7, 2024
ba32cd3
0.8.11
cgewecke Mar 7, 2024
12436cc
Update changelog: 0.8.11
cgewecke Mar 7, 2024
a20fbf7
Support solc v0.4.x (#877)
cgewecke Apr 3, 2024
66fda89
Use fs.stat to check directory status (#880)
cgewecke Apr 4, 2024
011ee40
Update hardhat dev dep to 2.22.2 (EDR) (#881)
cgewecke Apr 4, 2024
09a7c83
Add extendConfig logic for hardhat-viem plugin (#883)
cgewecke Apr 5, 2024
4f5626d
Tolerate whitespace between `require` and terminating `;` (#884)
cgewecke Apr 5, 2024
a1158f5
Document `extendConfig` changes in README (#885)
cgewecke Apr 5, 2024
f550eae
0.8.12
cgewecke Apr 5, 2024
04d178e
Update OpenZeppelin Codecov example link (#887)
AndreMiras Apr 26, 2024
adaeb54
Error if solcoverjs passed but nonexistent (#889)
area Jul 4, 2024
fcf858f
Docs: fix additional spelling issues (#892)
nnsW3 Aug 28, 2024
df1df12
Stop overwriting forking config in extendConfig (#893)
cgewecke Aug 29, 2024
97dadf8
0.8.13
cgewecke Aug 29, 2024
de0452a
Update matrix.md (#896)
leopardracer Nov 24, 2024
7c64eb6
Add transient storage support (#898)
cgewecke Nov 25, 2024
0a9ac96
0.8.14
cgewecke Nov 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
64 changes: 30 additions & 34 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,79 +12,75 @@ step_install_nvm: &step_install_nvm
set +e
export NVM_DIR="/opt/circleci/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm install v12.16.0
nvm alias default v12.16.0
nvm install v18
echo 'export NVM_DIR="/opt/circleci/.nvm"' >> $BASH_ENV
echo "[ -s \"$NVM_DIR/nvm.sh\" ] && . \"$NVM_DIR/nvm.sh\"" >> $BASH_ENV

step_install_foundry: &step_install_foundry
run:
name: "Install Foundry"
working_directory: ~/
environment:
SHELL: /bin/bash
command: |-
export PATH="$PATH:$HOME/.foundry/bin"
echo 'export PATH=$PATH:$HOME/.foundry/bin' >> $BASH_ENV
curl -L https://foundry.paradigm.xyz | bash
foundryup

jobs:
unit-test:
docker:
- image: circleci/node:12
- image: cimg/node:20.11.0
steps:
- checkout
- run:
name: Delete any old node_modules
command: |
rm -rf node_modules/
- run:
name: Install truffle (globally)
command: |
sudo npm install -g truffle
- run:
name: Install dependencies
command: |
yarn
- run:
name: Run tests
name: Tests ( optimizer.enabled=false )
command: |
npm run test:ci
- run:
name: Tests ( viaIR=true )
command: |
npm run test:ci:viaIR
- run:
name: Upload coverage
command: |
bash <(curl -s https://codecov.io/bash)
e2e-zeppelin:
machine: true
machine:
image: ubuntu-2204:2024.01.1
resource_class: large
environment:
NODE_OPTIONS: --max_old_space_size=8192
steps:
- checkout
- <<: *step_install_nvm
- run:
name: Zeppelin E2E
command: |
./scripts/run-zeppelin.sh
e2e-metacoin:
machine: true
steps:
- checkout
- <<: *step_install_nvm
- run:
name: MetaCoin E2E
command: |
./scripts/run-metacoin.sh
e2e-metacoin-windows:
executor: win/default
steps:
- checkout
- run: dotnet tool install --global PowerShell
- run:
name: Windows Metacoin E2E
command: |
bash ./scripts/run-metacoin.sh
e2e-buidler:
./scripts/zeppelin.sh
e2e-nomiclabs:
machine: true
steps:
- checkout
- <<: *step_install_nvm
- <<: *step_install_foundry
- run:
name: Buidler E2E
name: Hardhat E2E
command: |
./scripts/run-buidler.sh
./scripts/nomiclabs.sh
workflows:
version: 2
build:
jobs:
- unit-test
- e2e-zeppelin
- e2e-metacoin
- e2e-metacoin-windows
- e2e-buidler
- e2e-nomiclabs
18 changes: 18 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
---
version: 2
updates:
- package-ecosystem: npm
directory: /
open-pull-requests-limit: 5
schedule:
interval: daily
time: "9:00"
timezone: MST
commit-message:
prefix: build
include: scope
assignees:
- cgewecke
labels:
- build
133 changes: 0 additions & 133 deletions BUIDLER_README.md

This file was deleted.

Loading