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

Bump solidity-coverage from 0.5.11 to 0.7.10 #271

Merged
merged 2 commits into from
Sep 13, 2020

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 12, 2020

Bumps solidity-coverage from 0.5.11 to 0.7.10.

Release notes

Sourced from solidity-coverage's releases.

0.7.0

Hello!

Solidity-Coverage has undergone a major re-design in 0.7.0.

Its core remains the elegant solidity instrumentation logic which JoinColony engineer @area first worked out in 2016. But the mechanics of collecting your tests' execution trace and the tool's integration with the Ethereum development stack have been re-written to fix a host of problems that have built up over the last two years. Beginning with this release, you'll

  • be able to use any Ganache version you want
  • slot coverage into your other tooling as a plugin with much less configuration.
  • run into far fewer cases where normally working tests fail when being covered
  • be able to build your own coverage application using the tool's API.

We've also focused on improving error reporting and making overall performance smoother. It's been beta tested for several months on many of Ethereum's largest projects and everything looks good :)

Documentation

🐘 What's coming... 🐘

Another major phase of development is scheduled for the next couple of months. We'll be implementing a set of new, solidity-specific coverage measurements which engineers have proposed over the years to increase the precision of the reports you get:

  • Per-function modifier coverage , which treats modifiers as branches in the code for each function, e.g for each method qualified by the modifier Ownable, measure whether it was called by owners and non-owners (Proposed by Zeppelin engineer Nicolas Venturo in [solidity-coverage #286](sc-forks/solidity-coverage#286))
  • Public variable coverage, which treats public variables as methods (since getters are implicitly generated for them) and provide a way for developers to track changes in their contracts' public API. (Proposed by Zeppelin engineer Nicolas Venturo in [solidity-coverage #281](sc-forks/solidity-coverage#281))
  • && / || conditional coverage: , which treats conjoined conditions as distinct execution branches. This precision in branch coverage reporting is available for Java with the cobratura coverage tool - Solidity could benefit from it too. (Proposed by Gnosis engineer Richard Meissner in [solidity-coverage #175](sc-forks/solidity-coverage#175))
  • Documentation coverage, which measures Natspec comment-to-parameter mappings and provides a way to track documentation completeness
  • CI integrations for the above Where additional coverage measurements can't be adequately represented by Istanbul/Coveralls we'll add support for them with a githooks/CI integration that tracks pull-request changes relative to their target branch.

Thanks for trying this out!

Please open issues/ask for help if you run into trouble installing or see problems ;)

Buidler Plugin & Coverage API

Hi!

Phase II of solidity-coverage's redesign is complete with this release. A long-standing goal here has been to make the tool more 'library-like' and decouple from any single development platform. beta.3 moves in that direction by:

  • Publishing an API
  • Using the API to create a coverage plugin for the Buidler development platform.

Buidler Plugin 👷‍♀

Changelog

Sourced from solidity-coverage's changelog.

0.7.10 / 2020-08-18

  • Bump parser to 0.7.0 (Solidity 0.7.0)

0.7.9 / 2020-06-28

  • Fix --testfiles glob handling (Buidler)

0.7.8 / 2020-06-24

  • Track statements in try/catch blocks correctly

0.7.7 / 2020-06-10

  • Recommend using --network in buidler docs
  • Fix html report function highlighting
  • Stop instrumenting receive() for statements / fns (to save gas)
  • Lazy load ganache in buidler plugin (fix for buidler source-maps)
  • Unset useLiteralContent in buidler compilation settings
  • Support multi-contract files w/ inheritance for solc 0.6.x

0.7.5 / 2020-04-30

  • Auto disable buidler-gas-reporter (fixes hang when both plugins are present)
  • Upgrade @solidity-parser/parser to ^0.6.0 (for solc 0.6.5 parsing)

0.7.4 / 2020-04-09

0.7.3 / 2020-04-06

0.7.2 / 2020-02-12

  • Use solidity-parser-diligence (parse Solidity 0.6.x syntax)
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot will merge this PR once it's up-to-date and CI passes on it, as requested by @szerintedmi.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 12, 2020
@szerintedmi
Copy link
Member

@dependabot merge

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/solidity-coverage-0.7.10 branch from 5e2f30b to 711bff7 Compare September 12, 2020 23:59
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 13, 2020

Dependabot tried to merge this PR, but received the following error from GitHub:

You're not authorized to push to this branch. Visit https://docs.github.com/articles/about-protected-branches/ for more information.

@szerintedmi
Copy link
Member

@dependabot squash and merge

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 13, 2020

Dependabot tried to merge this PR, but received the following error from GitHub:

You're not authorized to push to this branch. Visit https://docs.github.com/articles/about-protected-branches/ for more information.

@szerintedmi szerintedmi merged commit 31ba141 into staging Sep 13, 2020
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/solidity-coverage-0.7.10 branch September 13, 2020 00:56
szerintedmi added a commit that referenced this pull request Sep 14, 2020
* script

* rename

* comment

* comment

* fix

* Scripts (migrate, convert) (#228)

* margin_loan (#229)

* fix loan related test failures when run multiple times (also take snapshot before initialization, and revert after all tests have run, because init already changes the state)

* move old sb scripts to archive

* Loans with margin calls (#230)

* Bump handlebars from 4.1.1 to 4.1.2 (#234)

Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](handlebars-lang/handlebars.js@v4.1.1...v4.1.2)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fstream from 1.0.11 to 1.0.12 (#232)

Bumps [fstream](https://github.com/npm/fstream) from 1.0.11 to 1.0.12.
- [Release notes](https://github.com/npm/fstream/releases)
- [Commits](npm/fstream@v1.0.11...v1.0.12)

* Update truffle-hdwallet-provider to the latest version 🚀 (#231)

* chore(package): update truffle-hdwallet-provider to version 1.0.10

* chore(package): update lockfile yarn.lock

* Update coveralls to the latest version 🚀 (#235)

* chore(package): update coveralls to version 3.0.4

* chore(package): update lockfile yarn.lock

* SB script dry execution (#237)

* code formatting

* dryExecute

* dryExecute to return delegatecall revert reason

* dryExecute: return void, copy only on revert, comments

* dryExecute: minor code simplification

* dryExecute: extra tests with no reason&out of gas

* Update eslint to the latest version 🚀 (#240)

* chore(package): update eslint to version 6.0.0

* chore(package): update lockfile yarn.lock

* Update ganache-cli to the latest version 🚀 (#238)

* chore(package): update ganache-cli to version 6.4.4

* chore(package): update lockfile yarn.lock

* Greenkeeper/truffle hdwallet provider 1.0.13 (#241)

* chore(package): update truffle-hdwallet-provider to version 1.0.13

Closes #239

* chore(package): update lockfile yarn.lock

* loan manager improvements (#236)

- add currentRate to LoanManager events (NewLoan, LoanRepayed, LoanCollected)
- fix inverted collateralRatio, rename to initialCollateralRatio
- add minRate to newEthBackedLoan
- emit LoanChanged event on addExtraCollateral

* margin loanmanager mainnet deploy (#253)

* scripts: deploy loanmanager
* scripts: loanmanager permission setup script
* abiniser: deployment info for mainnet loanmanager (manual)
* scripts: loanmanager product setup script
* bump package version to 1.1.1

* sb script: transfer eth from reserve

* yarn version  to 1.22.4 (#262)

* upgrade to ganache_cli 6.10.2 (#263)

* mega truffle upgrade  (#264)

Massive PR to upgrade to truffle 5.1.43

- Latest truffle uses web3 v1 which required a lot of changes in tests due to values returned differently.
- Truffle now injects v1 web3 to tests so no need to hack in an additional web3 (v1) for tests anymore (removed package).
- As part of reorg changed all BigNumber.js variables to web3 native 'BN.js' vars (removed Bignumber package)

* sb script: eth transfer from reserve (#255)

* Main0034_feeaccount_transfer [0x4120e93d6fa16e30fae5284e35b8fbe8526274a5](https://etherscan.io/address/0x4120e93d6fa16e30fae5284e35b8fbe8526274a5#code)

* Main0032_reserve_transfer [0x7872040512885e0f7DEDDfEE95cc38aA8108e4d2](https://etherscan.io/address/0x7872040512885e0f7deddfee95cc38aa8108e4d2)

*  Main0033_reserve_transfer  [0x3d55c33d5aab0d863c644f1b9d8b2836292d104e](https://etherscan.io/address/0x3d55c33d5aab0d863c644f1b9d8b2836292d104e)

* Truffle to 5.1.44 (#266)

* truffle to 5.1.44

* enable dependabot (#267)

* Dependabot conf fix (#268)

* fix dependabot.yml

* Bump stringifier from 2.0.0 to 2.1.0 (#269)

Bumps [stringifier](https://github.com/twada/stringifier) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/twada/stringifier/releases)
- [Changelog](https://github.com/twada/stringifier/blob/master/CHANGELOG.md)
- [Commits](twada/stringifier@v2.0.0...v2.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump moment from 2.22.2 to 2.27.0 (#270)

Bumps [moment](https://github.com/moment/moment) from 2.22.2 to 2.27.0.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](moment/moment@2.22.2...2.27.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump solidity-coverage from 0.5.11 to 0.7.10 (#271)

Bumps [solidity-coverage](https://github.com/sc-forks/solidity-coverage) from 0.5.11 to 0.7.10.
- [Release notes](https://github.com/sc-forks/solidity-coverage/releases)
- [Changelog](https://github.com/sc-forks/solidity-coverage/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sc-forks/solidity-coverage/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Peter Petrovics <peter@augmint.org>

* Bump dotenv from 8.0.0 to 8.2.0 (#272)

Bumps [dotenv](https://github.com/motdotla/dotenv) from 8.0.0 to 8.2.0.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](motdotla/dotenv@v8.0.0...v8.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Peter Petrovics <peter@augmint.org>

* Bump wait-on from 3.2.0 to 5.2.0 (#273)

Bumps [wait-on](https://github.com/jeffbski/wait-on) from 3.2.0 to 5.2.0.
- [Release notes](https://github.com/jeffbski/wait-on/releases)
- [Commits](jeffbski/wait-on@v3.2.0...v5.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump truffle-hdwallet-provider from 1.0.13 to 1.0.17 (#274)

Bumps [truffle-hdwallet-provider](https://github.com/trufflesuite/truffle) from 1.0.13 to 1.0.17.
- [Release notes](https://github.com/trufflesuite/truffle/releases)
- [Commits](https://github.com/trufflesuite/truffle/compare/truffle-hdwallet-provider@1.0.13...truffle-hdwallet-provider@1.0.17)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump eslint from 6.0.0 to 7.9.0 (#276)

* Bump coveralls from 3.0.4 to 3.1.0 (#275)

Bumps [coveralls](https://github.com/nickmerwin/node-coveralls) from 3.0.4 to 3.1.0.
- [Release notes](https://github.com/nickmerwin/node-coveralls/releases)
- [Commits](nickmerwin/node-coveralls@3.0.4...v3.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* truffle-hdwallet upgrade & dump babel-register (#277)

* Bump moment from 2.27.0 to 2.28.0 (#278)

Bumps [moment](https://github.com/moment/moment) from 2.27.0 to 2.28.0.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](moment/moment@2.27.0...2.28.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* bump package version to 1.1.2 (#279)

Co-authored-by: Treer Zoltán <treer@euedge.com>
Co-authored-by: Treer Zoltán <38250343+treer-euedge@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: greenkeeper[bot] <greenkeeper[bot]@users.noreply.github.com>
Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
Co-authored-by: Treer Zoltán <38250343+treerz@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant