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

Contract.at actually returns a Promise + missing Deployer.then() #15

Open
julienmuller-forge opened this issue Feb 14, 2020 · 1 comment

Comments

@julienmuller-forge
Copy link

Contract.at actually returns a Promise so the type should be
interface Contract extends ContractNew<any[]> {
deployed(): Promise;
at(address: string): Promise;
address: string;
contractName: string;
}

+method Deployer.then() is missing (cf truffle documentation here : https://www.trufflesuite.com/docs/truffle/getting-started/running-migrations#deployer-then-function-)

Could you please publish a fixed version ? Thanks.

@julienmuller-forge
Copy link
Author

Sorry i just noticed there was already a PR for the first one ! Although i think this is not truffle 5 specific, as far as i recall, contract.at() has always returned a Promise

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