Skip to content
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

Tests fail with Error BDLR700: Artifact for contract "Token" not found. #83

Open
akhavr opened this issue Jun 4, 2020 · 0 comments
Open

Comments

@akhavr
Copy link

akhavr commented Jun 4, 2020

...
> bash scripts/test.sh

Starting our own ganache instance
Waiting for ganache to launch on port 8545...
Ganache launched!
Buidler version 1.1.2
Compiling...
Downloading compiler version 0.5.3


contracts/Moloch.sol:700:57: Warning: This declaration shadows an existing declaration.
    function fairShare(uint256 balance, uint256 shares, uint256 totalShares) internal pure returns (uint256) {
                                                        ^-----------------^
contracts/Moloch.sol:53:5: The shadowed declaration is here:
    uint256 public totalShares = 0; // total shares across all members
    ^----------------------------^



contracts/Moloch.sol:494:5: Warning: Function state mutability can be restricted to view
    function _didPass(uint256 proposalIndex) internal returns (bool didPass) {
    ^ (Relevant source part starts here and spans across multiple lines).

Compiled 7 contracts successfully
Error BDLR700: Artifact for contract "Token" not found.

For more info go to https://buidler.dev/BDLR700 or run Buidler with --show-stack-traces
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] test: `bash scripts/test.sh`
npm ERR! Exit status 1
npm ERR! 
...

Maybe they weren't updated since migration from v1?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant