Skip to content

Commit 72478fd

Browse files
authored
increase test coverage + set genesis protocol parameters at schemes initilize function. (#733)
* increase test coverage * set generisProtocolParams upon schemes initilization * tests * tests * tests * reputationFromToken test . redeemWithSignature * solc 0.5.17 * test coverage * clean daofactory * reputationFromToken test fix * bump version
1 parent 954e328 commit 72478fd

File tree

72 files changed

+930
-388
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+930
-388
lines changed

.coveralls.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
"eol-last": 2,
1515
"eqeqeq": "error"
1616
},
17-
"ignorePatterns": ["cache/", "node_modules/"]
17+
"ignorePatterns": ["cache/", "node_modules/","coverage/"]
1818
}

.solcover.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +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/'],
78
providerOptions: {
89
accounts: [
910
{

buidler.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
usePlugin("@nomiclabs/buidler-truffle5");
22
usePlugin("@nomiclabs/buidler-solhint");
33
usePlugin("solidity-coverage");
4+
usePlugin("@nomiclabs/buidler-web3");
45

56
// This is a sample Buidler task. To learn how to create your own go to
67
// https://buidler.dev/guides/create-task.html
@@ -123,7 +124,7 @@ module.exports = {
123124
}
124125
},
125126
solc: {
126-
version: "0.5.16", // Fetch exact version from solc-bin (default: truffle's version)
127+
version: "0.5.17", // Fetch exact version from solc-bin (default: truffle's version)
127128
optimizer: {
128129
enabled: true,
129130
runs: 200

contracts/Migrations.sol

Lines changed: 0 additions & 26 deletions
This file was deleted.

contracts/controller/Avatar.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pragma solidity ^0.5.16;
1+
pragma solidity ^0.5.17;
22

33
import "@daostack/infra-experimental/contracts/Reputation.sol";
44
import "./DAOToken.sol";

contracts/controller/Controller.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pragma solidity ^0.5.16;
1+
pragma solidity ^0.5.17;
22

33
import "./Avatar.sol";
44
import "../globalConstraints/GlobalConstraintInterface.sol";

contracts/controller/DAOToken.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pragma solidity ^0.5.16;
1+
pragma solidity ^0.5.17;
22

33
import "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/ERC20Burnable.sol";
44
import "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/IERC20.sol";

contracts/globalConstraints/GlobalConstraintInterface.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pragma solidity ^0.5.16;
1+
pragma solidity ^0.5.17;
22

33

44
contract GlobalConstraintInterface {

contracts/globalConstraints/TokenCapGC.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pragma solidity ^0.5.16;
1+
pragma solidity ^0.5.17;
22

33
import "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/IERC20.sol";
44
import "./GlobalConstraintInterface.sol";

0 commit comments

Comments
 (0)