Skip to content

Commit 8a9ecfd

Browse files
authored
Use solidity v0.6.10 (#84)
* 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
1 parent f0c6f26 commit 8a9ecfd

31 files changed

+858
-106245
lines changed

.mocharc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"require": ["@nomiclabs/buidler/register"],
3+
"timeout": 20000,
4+
"recursive": "test"
5+
}

.solcover.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module.exports = {
44
grep: "@skip-on-coverage", // Find everything with this tag
55
invert: true // Run the grep's inverse set.
66
},
7-
skipFiles: ['test/','votingMachines/IntVoteInterface.sol','token/'],
7+
skipFiles: ['test/','votingMachines/IntVoteInterface.sol', ,'votingMachines/IntVoteInterfaceEvents.sol','token/'],
88
providerOptions: {
99
accounts: [
1010
{

.solhint.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"no-simple-event-func-name": "off",
88
"two-lines-top-level-separator": "off",
99
"mark-callable-contracts": "off",
10-
"reason-string": "off"
10+
"compiler-version": ["error","^0.6.10"],
11+
"reason-string": ["error",{"maxLength":64}]
1112
}
1213
}

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ dist: trusty
33
language: node_js
44

55
node_js:
6-
- "12.16.1"
6+
- "12.18.1"
77

88
before_install:
99

buidler.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ module.exports = {
123123
}
124124
},
125125
solc: {
126-
version: "0.5.17", // Fetch exact version from solc-bin (default: truffle's version)
126+
version: "0.6.10", // Fetch exact version from solc-bin (default: truffle's version)
127127
optimizer: {
128128
enabled: true,
129129
runs: 200

0 commit comments

Comments
 (0)