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

capitalization typo #1

Open
cswiger opened this issue May 14, 2022 · 0 comments
Open

capitalization typo #1

cswiger opened this issue May 14, 2022 · 0 comments

Comments

@cswiger
Copy link

cswiger commented May 14, 2022

In case anyone else gets this: "Error: Could not find artifacts for Timelock from any sources"

there is a confusion of case between contracts/Timelock.sol lower case ell
and contract TimeLock is TimelockController { upper case ell -- from above error truffle is looking for lower case so workaround after compile to uppercase artifact:

mv build/contracts/TimeLock.json build/contracts/Timelock.json

-- or -- before compile, edit contracts/Timelock.sol and change contract TimeLock to Timelock

@cswiger cswiger changed the title capitalization type capitalization typo May 14, 2022
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