Skip to content

Commit

Permalink
Use solidity v0.6.10 (#84)
Browse files Browse the repository at this point in the history
* Use solidity v0.6.8

* Improve test coverage

* Update .solcover.js

* Bump version

* Update sol to v0.6.10

* Remove chache files from git

* Contracts licenses

* Update package.json

* update node

* Fix compile warnings

* Update RealMath.sol
  • Loading branch information
ben-kaufman authored Jun 25, 2020
1 parent f0c6f26 commit 8a9ecfd
Show file tree
Hide file tree
Showing 31 changed files with 858 additions and 106,245 deletions.
5 changes: 5 additions & 0 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"require": ["@nomiclabs/buidler/register"],
"timeout": 20000,
"recursive": "test"
}
2 changes: 1 addition & 1 deletion .solcover.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
grep: "@skip-on-coverage", // Find everything with this tag
invert: true // Run the grep's inverse set.
},
skipFiles: ['test/','votingMachines/IntVoteInterface.sol','token/'],
skipFiles: ['test/','votingMachines/IntVoteInterface.sol', ,'votingMachines/IntVoteInterfaceEvents.sol','token/'],
providerOptions: {
accounts: [
{
Expand Down
3 changes: 2 additions & 1 deletion .solhint.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"no-simple-event-func-name": "off",
"two-lines-top-level-separator": "off",
"mark-callable-contracts": "off",
"reason-string": "off"
"compiler-version": ["error","^0.6.10"],
"reason-string": ["error",{"maxLength":64}]
}
}
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ dist: trusty
language: node_js

node_js:
- "12.16.1"
- "12.18.1"

before_install:

Expand Down
2 changes: 1 addition & 1 deletion buidler.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ module.exports = {
}
},
solc: {
version: "0.5.17", // Fetch exact version from solc-bin (default: truffle's version)
version: "0.6.10", // Fetch exact version from solc-bin (default: truffle's version)
optimizer: {
enabled: true,
runs: 200
Expand Down
Loading

0 comments on commit 8a9ecfd

Please sign in to comment.