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

Fix openzeppelin-solidity/contracts/ownership/Ownable.sol #69

Open
harshitsinghai77 opened this issue Oct 10, 2021 · 2 comments
Open

Fix openzeppelin-solidity/contracts/ownership/Ownable.sol #69

harshitsinghai77 opened this issue Oct 10, 2021 · 2 comments

Comments

@harshitsinghai77
Copy link

In the latest version of openzeppelin, this has been moved.

Install
npm install @openzeppelin/contracts --save

Instead of

import "openzeppelin-solidity/contracts/ownership/Ownable.sol";

use it like this

import "@openzeppelin/contracts/access/Ownable.sol";
@ksolo
Copy link
Member

ksolo commented Oct 14, 2021

Thanks @harshitsinghai77 I'll set up some time soon to make this change along with a handful of other errata.

@harshitsinghai77
Copy link
Author

Happy to help.

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

2 participants