- Update @solidity-parser/parser to ^0.12.0 (and support Panic keyword in catch clauses) (sc-forks#621)
- Fix ctrl-c not exiting on Hardhat (sc-forks#616)
- Fix bug instrumentation bug w/ "pragma abicoder v2" (sc-forks#615)
- Update changelog: v0.7.14
- Support file scoped function definitions for solc >= 0.7.4
- Upgrade @solidity-parser/parser to v0.11.0
- Use default artifact paths for hardhat >= 2.0.4 (Fixes hardhat-deploy bug)
- Add Hardhat plugin support and allow coverage to run on HardhatEVM (sc-forks#548)
- Allow truffle projects to contain vyper contracts (sc-forks#571)
- Locate .coverage_contracts correctly for subfolder paths (sc-forks#570)
- Replace Web3 with thin rpc wrapper (sc-forks#568)
- Stop reporting assert statements as branches (sc-forks#556)
- Upgrade @truffle/provider to 0.2.24 (sc-forks#550)
- Upgrade solidity-parser/parser to 0.8.1 (sc-forks#549)
- Upgrade Web3 to ^1.3.0, ganache-cli to 6.11.0
- Make statement and function coverage measurement optional
- Bump parser to 0.7.0 (Solidity 0.7.0)
- Fix --testfiles glob handling (Buidler)
- Track statements in try/catch blocks correctly
- 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
- 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)
- Use @solidity-parser/parser (^0.5.2) for better 0.6.x parsing (sc-forks#495)
- Allowing providerOptions gasLimit and allowUnlimitedContractSize to override defaults (sc-forks#494)
- Use empty string for default cli flag values (Buidler) (sc-forks#490)
- Get test files after compileComplete hook runs (Truffle) (sc-forks#485)
- Fix skipFiles option for Windows OS (sc-forks#486)
- Allow modifier string arguments containing "{" (sc-forks#480)
- Allow base contract string constructor args with open curly braces (sc-forks#479)
- Bump handlebars from 4.1.2 to 4.5.3
- Bump kind-of from 6.0.2 to 6.0.3
- Use solidity-parser-diligence (parse Solidity 0.6.x syntax)
- Upgrade backup ganache-cli to 6.9.0
- Upgrade Web3 to 1.2.6
- Add missing hash bang to .bin warning so 'npx solidity-coverage' produces correct message.
- Use istanbul fork (because deprecated)
- New architecture / Truffle plugin (See PR #372 for details)
- Expose solidity-coverage/api (See PR #421 for details)
- Add Buidler plugin (See PR #421 for details)
- Ugrapde testrpc-sc to 6.5.1-sc.1 (using eth-sig-util 2.3.0)
- Pin solidity-parser-antlr to 0.4.7
- Upgrade testrpc-sc to track ganache-cli 6.5.1
- Fix parsing bug for soldity
type
keyword (upgrade solidity-parser-antlr to ^0.4.7)
- Fix coverage for solidity
send
andtransfer
(upgrade testrpc-sc to 6.4.5-sc.3)
- Fix bug preprocessing unbracketed if else statements
- Add E2E vs Zeppelin and Colony in CI
- Add misc regression tests
- Rebase testrpc-sc on ganache-cli 6.4.5, using --allowUnlimitedContractSize and --emitFreeLogs by default.
- Make pre-processor (and instrumentation step) much much faster
- Transition to using solidity-parser-antlr (@area)
- Support org namespaces / subfolders for
copyPackages
option (contribution @bingen)
- Add deep skip option to provide relief from instrumentation hangs for contracts like Oraclize
- Fix instrumentation algo so SC doesn't instrument entire codebase twice (contribution @sohkai)
- Add new parameter for build directory path (contribution @DimitarSD)
- Upgrade testrpc-sc to 6.1.6 (to support reason strings) (@area)
- Switch to CircleCI v2 (@area)
- Also copy files starting with '.' into coverage environment - they might be necessary.
- Parse pragma ABIEncoderV2
- Use require.resolve() to get the path of testrpc-sc (lerna + yarn workspaces compatibility) (contribution @vdrg)
- Add -L flag when copying packages specified in the copyPackages option (following symlinks | lerna + yarn workspaces compatibility) (contribution @vdrg)
- Silence security warnings coming from the parser by upgrading mocha there to v4.
- Kill testrpc w/ tree-kill so that the childprocess actually dies in linux.
- Update README for 0.5.0
- Cleanup stdout/stderr streams on exit. This might stop testrpc-sc from running as a background zombie on Linux systems, post-exit.
- Support
constructor
keyword - Prefix instrumentation events with
emit
keyword - (Temporarily) remove support for ternary conditional branch coverage. Solidity no longer allows us to emit instrumentationevents within the grammatical construction @area devised to make this possible.
- Update parser to allow
emit
keyword (contribution @andresilva).
- Fix misc bugs related to testrpc-sc using an older version of
ganache-cli
to webpack testrpc-sc by bumping to testrpc-sc 6.1.2
- Fix bug introduced in 0.4.12 that broke internal rpc server launch. (contribution @andresilva)
- Fix bug that caused parser to crash on JS future-reserved keywords like
class
- Use newer more stable
ganache-core
as core of testrpc-sc. - Update instrumentation to allow interface contracts.
- Add @vdrg to contributor list
- Update parser to allow function types as function parameters (contribution: vrdg)
- Fix bug that corrupted the line coverage alignment in reports when view/pure modifiers occupied their own line.
- Fix bug that ommitted line-coverage for lines with trailing '//' comment
- Fix windows html report bug caused by failure to pass path relativized mapping to Istanbul
- Fix parsing bug preventing fn definition in structs. Bump parser to 0.4.4
- Fix build folder management by only deleting its contracts folder (contribution: ukstv)
- Document problems/solutions when Truffle must be a local dependency.
- Stop requiring that
view
pure
andconstant
methods be invoked by.call
(solution: spalladino @ zeppelin) - Add ability to include specific node_modules packages (contribution: e11io), dramatically speeding up coverage env generation for larger projects.
- Add ability to skip instrumentation for an entire folder.
- Bug fix to gracefully handle *.sol files that are invalid Solidity during pre-processing.
- Bug fix to allow
constant
keyword for variables by only removing visibility modifiers from functions. Uses the preprocessor walking over the AST rather than a regex
- Bug fix to accomodate strict enforcement of constant and view modifiers in pragma 0.4.18
- Bug fix to accomodate Truffle's simplified interface for view and constant
- Bug fix to accomodate enforcement of EIP 170 (max contract bytes === 24576)
- Add sanity checks for contracts and coverageEnv folders
- Update testrpc-sc to 6.0.3 (Byzantium fork)
- Fix bug that prevented overloading abstract pure methods imported from outside the contracts directory (@elenadimitrova)
- Begin using npm published solidity-parser-sc / allow upgrading with yarn (@elenadimitrova)
- Update README and FAQ for Windows users
- Permit view and pure modifiers
- Permit experimental pragma
- Upgrade development deps to truffle4 beta and solc 0.4.17
- Fix bug causing large suites that use the internal testrpc launch to crash mysteriously by increasing testrpc-sc stdout buffer size. (@rudolfix / Neufund contribution)
- Fix bugs that made tool (completely) unrunnable and report unreadable on Windows. (@phiferd contribution)
- Fix bug that caused tool to crash when reading the events log from very large test suites by reading the log line by line as a stream. (@rudolfix / Neufund contribution)
- Revert vm stipend fix, it was corrupting balances.
send
&transfer
to instrumented fallback will fail now though.
- Fix bug where sigint handler wasn't declared early enough in the exec script, resulting in occasional failure to cleanup.
- Add unit tests for transfers and sends to instrumented fallback fns.
- Fix bug in testrpc-sc causing transfers/sends to fail with instrumented fallback fns.
- Allow truffle.js to be named truffle-config.js for windows compatibility
- Remove old logic that handled empty function body instrumentation (lastchar special case)
- Correctly instrument comments near function's {
- Verify testrpc-sc's location in node_modules before invoking (yarn / package-lock.json fix)
- Fix lcov html report bug introduced in 0.1.9
- Stop ignoring package-lock.json - npm version wants it
- Add testrpc-sc publication docs
- Update to use testrpc-sc v 4.0.1 (tracking testrpc 4.0.1)
- Cover assert/require statements as if they were if statements (which, secretly, they are)
- Add documentation justifying the above changes
- Upgraded solc to 0.4.13
- Switch to using ethereumjs-vm-sc in order to be able to test case where asserts and requires fail
- Pin testrpc-sc to its 3.0.3 branch as a safe-haven while we upgrade to testrpc v4
- Add changelog
- Simplify and reorder README, add CI integration guide
- Add testrpc-sc signing test and lint
- Clear cache on CI, add Maurelian to contributor list
- exec.js refactor: modularized and moved logic to lib/app.js
- More informative TestRPC failure logging
- Add Alan Lu as contributor Also remove mysterious crash known issue, since he fixed it.
- Fix testrpc-sc race condition
- Test command runs after TestRPC starts listening
- Improved mock test command
- Added test for race condition
- README updates: remove require info, add memory info
- Add Invalid JSON RPC note to known issues in README
- Instrument empty contract bodies correctly
- Instrument conditional assignment to MemberExpressions
- Add gas estimation example. Pin truffle to 3.2.5
- Allow files to be skipped during coverage While ordinarily we shouldn't want to do these, it is possible to construct valid contracts using assembly that break when the coverage events are injected.
- Fix istanbul exiting error
- Fix tuple parsing / update tests
- Change testrpc path for yarn compatibility
- Small exec.js cleanup, clarify port options settings in README
- Unit test copying project into env
- Copy all directories when setting up coverageEnv
The exception is
node_modules
, which must have copyNodeModules set totrue
in .solcover.js in order to be included.
- Stop crashing on encounters with non-truffle projects
- Add repository field to package, use cache again on CI
- Remove events warning, update package webpage, misc rewordings
- Fix testrpc filter tests. Disable yarn
- Add (disabled) events filter unit test
- Add truffle as dev dep, re-yarn
- Add topic logging to coverageMap
- Add yarn.lock, use yarn on CI
- Use coverage network port if avail (& unit test).
- Edits to HDWalletProvider notes
- Add npm version badge, update known issues
- Pin SP to sc-forks#master (has post-install script to build parser)
- Remove parse.js dummy node list, order nodes alphabetically Note: This change exposes the fact that a number of cases aren't actually being checked in the parse table. Possible test-deficits / parse-table logic defects here.
- Remove parse.js dummy node list, order nodes alphabetically
- add waffle.io badge
- Change install instructions, small edits & formatting
- Move files into /lib and /bin
- Use node_modules/.bin/testrpc-sc
- Disambiguate package name & fix readme option params
- Edit readme to reflect repo name, add options, contributors, contrib guidelines
- Update to Truffle3, refactor CLI, add CLI unit tests, fix misc bugs
- Disable two "config" tests for CI - multiple testrpc launches max out container memory limit
- Rename "run" folders/files "cli" for consistency
- Fix broken chained call handling, add unit tests to verify cases get coverage
- Add unit test for arbitrary testing command config option, remove test flush
- Allow testrpc options string in config, rename run to cli (test sequencing fix)
- Update README with known issues, links to zeppelin example report