Upgrade testrpc-sc
See original GitHub issueThere is growing drift between ganache-cli and testrpc-sc.
For example, since 6.1.3
, reason string functionality has been added and the client has begun returning false when a view
function fails a require gate (instead of throwing a revert error). . .
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:9 (7 by maintainers)
Top Results From Across the Web
Testing the Upgrade Process for Oracle Database
Your test plan for Oracle Database upgrades should include these test procedures. Oracle recommends that you create a full working copy of your...
Read more >Upgrade to casper-node v1.4.6
“Staging an upgrade” is a process in which you tell your node to download the upgrade files and prepare them, so that they...
Read more >Performing upgrade testing - BMC Documentation
Test the upgrade process. Test the functionality of the system with focus on ensuring that your application customizations are working with the ...
Read more >Upgrade Tests - Developer Guide - CiviCRM Documentation
Upgrade tests provide a basic sanity check on the DB upgrade logic – they ... Upgrade tests are run daily on the Jenkins...
Read more >Migration Guide- Chapter 21: Testing Upgraded Applications
In the case of the upgrade project, if test cases are already available for the Visual Basic 6.0 version of the application, these...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @cgewecke, I was hoping that due to the discussion in this thread maybe testrpc-sc had been updated to handle reason string functionality in reverts, but as far as I can tell, solidity-coverage v0.5.11 still does not handle revert reason strings. It looks like this was added in ganache-core v2.2.0: https://github.com/trufflesuite/ganache-core/releases/v2.2.0 which was released after the latest release of testrpc-sc.
(I am trying to use solidity-coverage in conjunction with https://github.com/rkalis/truffle-assertions, which tests the reason message included in the revert error message).
We’d very much like the reason string functionality in Colony, so I’m taking a crack at this, despite not having done it since it became so complicated! Everything in the upgrading testrpc-sc file seems to be right, apart from the fact that I can’t see how
ganache-core-sc
depends onprovider-engine-sc
. Is that no longer the case?EDIT: The instructions have a
push
after a rebase, but that’ll require a--force-with-lease
, right?EDIT2: I’m putting
coverage-20180803
branches on everything, rather than touching thecoverage
branches, so I can test everything out without irreversibly ruining something 😛