Skip to content

Commit

Permalink
added @openzeppelin/contracts as peer-deps & adjusted tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaversaccio committed Nov 5, 2021
1 parent a1a5138 commit 4ce2ae4
Show file tree
Hide file tree
Showing 21 changed files with 15 additions and 898 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This plugin will help you make easier and safer usage of the [`CREATE2`](https:/

## Installation
```bash
npm install --save-dev xdeployer @nomiclabs/hardhat-ethers
npm install --save-dev xdeployer @nomiclabs/hardhat-ethers @openzeppelin/contracts
```
> **Note:** This plugin uses the optional chaining operator (`?.`). Optional chaining is _not_ supported in Node.js v13 and below.
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
},
"peerDependencies": {
"hardhat": "^2.0.0",
"@nomiclabs/hardhat-ethers": "^2.0.2"
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@openzeppelin/contracts": "^4.3.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

pragma solidity ^0.8.4;

import "./imported/Create2.sol";
import "./imported/ERC1820Implementer.sol";
import "./imported/Ownable.sol";
import "./imported/Pausable.sol";
import "@openzeppelin/contracts/utils/Create2.sol";
import "@openzeppelin/contracts/utils/introspection/ERC1820Implementer.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";


/**
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

pragma solidity ^0.8.4;

import "./imported/Create2.sol";
import "./imported/ERC1820Implementer.sol";
import "./imported/Ownable.sol";
import "./imported/Pausable.sol";
import "@openzeppelin/contracts/utils/Create2.sol";
import "@openzeppelin/contracts/utils/introspection/ERC1820Implementer.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";


/**
Expand Down

This file was deleted.

Loading

0 comments on commit 4ce2ae4

Please sign in to comment.