-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Projects v2 contracts #1002
Projects v2 contracts #1002
Changes from 21 commits
38f9416
0ca6377
53339d3
561187f
f257063
bbcebbf
a4dd8d9
f541ef8
a068759
3d3b490
a2dfe3c
9d2c456
54e8b53
5b0ea62
3363829
fb30248
520592d
c891e97
459a826
61495eb
6f897d8
e44aba7
c79afa7
39379d2
ae351c5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ import "@tps/test-helpers/contracts/factory/DAOFactory.sol"; | |
import "@tps/test-helpers/contracts/acl/ACL.sol"; | ||
import "@aragon/apps-shared-minime/contracts/MiniMeToken.sol"; | ||
import "@tps/test-helpers/contracts/lib/bounties/StandardBounties.sol"; | ||
import "@tps/test-helpers/contracts/lib/bounties/BountiesEvents.sol"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we should not actually need to import this if we don't intend to use BountiesEvents in Allocations tests, do you have an special reason for it? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We need to import it here or Truffle throws this error (as outlined by Jorge's comments in Spoof.sol): |
||
|
||
// You might think this file is a bit odd, but let me explain. | ||
// We only use the MiniMeToken contract in our tests, which | ||
|
@@ -25,4 +26,4 @@ import "@tps/test-helpers/contracts/lib/bounties/StandardBounties.sol"; | |
// solium-disable-next-line no-empty-blocks | ||
contract Spoof { | ||
// ... | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
pragma solidity ^0.4.24; | ||
|
||
import "@tps/test-helpers/contracts/lib/bounties/StandardBounties.sol"; | ||
import "@tps/test-helpers/contracts/lib/bounties/BountiesEvents.sol"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here |
||
|
||
// You might think this file is a bit odd, but let me explain. | ||
// We only use the MiniMeToken contract in our tests, which | ||
|
@@ -21,4 +22,4 @@ import "@tps/test-helpers/contracts/lib/bounties/StandardBounties.sol"; | |
// solium-disable-next-line no-empty-blocks | ||
contract Spoof { | ||
// ... | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should not actually need to import this if we don't intend to use BountiesEvents in AddressBook tests, do you have an special reason for it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. I've reorganized Spoof.sol and TestImports.sol imports to better reflect their purposes in the address book app