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

Refactor/dependencies #198

Merged
merged 22 commits into from Jul 31, 2019
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Fixing issue with abi rolled into generated assets

  • Loading branch information
Freydal committed Jul 30, 2019
commit 72c0f988bd992d783bbea9313591726405651fc7
@@ -42,7 +42,7 @@ export class TestHelpers {
Object.keys(DeployedAddresses[config.networkId]).forEach(contractName => {
contracts[contractName.charAt(0).toLowerCase() + contractName.slice(1)] = new Wrappers[
`${contractName}Contract`
](artifacts[contractName].compilerOutput.abi, addresses[contractName], this.web3Wrapper.getProvider(), {
](addresses[contractName], this.web3Wrapper.getProvider(), {
from: config.from,
});
});
@@ -77,7 +77,11 @@ export class KosuToken {
throw new Error("Invalid network for KosuToken");
}

this.contract = new KosuTokenContract(this.address, this.web3Wrapper.getProvider(), { from: coinbase });
this.contract = new KosuTokenContract(
this.address,
this.web3Wrapper.getProvider(),
{ from: coinbase },
);
}
return this.contract;
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.