-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: migrate truffle to hardhat (#87)
* feat: hardhat migration * fix: fix tests cases * fix: document store creator test * fix: eslint errors * fix: benchmark test * fix: lint * fix: post typechain script used in truffle setup * chore: remove post install * chore: recover typechain script * chore: remove truffle config file * chore: add prepare script * chore: update package.json Co-authored-by: Seth <[email protected]>
- Loading branch information
Showing
13 changed files
with
30,151 additions
and
31,182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
migrations/1_initial_migration.js | ||
dist | ||
dist | ||
src/contracts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,5 @@ yarn-error.log | |
/build | ||
/types | ||
.DS_STORE | ||
/cache | ||
/artifacts |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
require("@nomiclabs/hardhat-waffle"); | ||
require("hardhat-typechain"); | ||
require("@openzeppelin/hardhat-upgrades"); | ||
|
||
/** | ||
* @type import('hardhat/config').HardhatUserConfig | ||
*/ | ||
|
||
module.exports = { | ||
solidity: { | ||
version: "0.6.10", | ||
settings: { | ||
optimizer: { | ||
enabled: true, | ||
runs: 200, | ||
}, | ||
}, | ||
}, | ||
typechain: { | ||
outDir: "src/contracts", | ||
}, | ||
}; |
Oops, something went wrong.