-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move all dependencies to lib directory and make interface contracts i…
…nterface types (#193) * Move all dependencies to new lib directory that is skipped from coverage metrics * Make interface contracts interface types * Update solidity-coverage to 0.3.8
- Loading branch information
Showing
28 changed files
with
1,527 additions
and
1,711 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
const files = require('glob').sync('contracts/lib/**/*.sol').map(n => n.replace('contracts/', '')) | ||
|
||
module.exports = { | ||
norpc: true, | ||
compileCommand: '../node_modules/.bin/truffle compile', | ||
testCommand: 'node --max-old-space-size=4096 ../node_modules/.bin/truffle test --network coverage', | ||
skipFiles: ['zeppelin/math/Math.sol', 'zeppelin/math/SafeMath.sol', 'misc/Migrations.sol', 'ens/*ENS.sol', 'ens/PublicResolver.sol'], | ||
skipFiles: ['common/IForwarder.sol', 'kernel/IKernel.sol'].concat(files), | ||
copyNodeModules: true, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
node_modules | ||
contracts/zeppelin | ||
contracts/factories/BaseFactory.sol | ||
contracts/kernel/IKernel.sol | ||
contracts/lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
pragma solidity ^0.4.18; | ||
|
||
|
||
contract IForwarder { | ||
function isForwarder() public pure returns (bool) { return true; } | ||
|
||
interface IForwarder { | ||
function isForwarder() public pure returns (bool); | ||
function canForward(address _sender, bytes _evmCallScript) public view returns (bool); | ||
function forward(bytes _evmCallScript) public; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
contracts/ens/AbstractENS.sol → contracts/lib/ens/AbstractENS.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
pragma solidity ^0.4.0; | ||
|
||
/* solium-disable */ | ||
|
||
import './AbstractENS.sol'; | ||
|
||
|
2 changes: 0 additions & 2 deletions
2
contracts/ens/PublicResolver.sol → contracts/lib/ens/PublicResolver.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
pragma solidity ^0.4.0; | ||
|
||
/* solium-disable */ | ||
|
||
import './AbstractENS.sol'; | ||
|
||
/** | ||
|
1 change: 0 additions & 1 deletion
1
contracts/common/erc677/ERC677Receiver.sol → contracts/lib/erc677/ERC677Receiver.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
contracts/common/erc677/ERC677Token.sol → contracts/lib/erc677/ERC677Token.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
contracts/misc/Migrations.sol → contracts/lib/misc/Migrations.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
pragma solidity ^0.4.2; | ||
|
||
/* solium-disable */ | ||
|
||
|
||
contract Migrations { | ||
address public owner; | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.