-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from yan-man/release/v0.1.9-alpha
Release/v0.1.9 alpha
- Loading branch information
Showing
11 changed files
with
2,489 additions
and
362 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
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 |
---|---|---|
|
@@ -2,6 +2,7 @@ node_modules | |
.idea | ||
coverage | ||
coverage.json | ||
typechain-types | ||
|
||
#Hardhat files | ||
cache | ||
|
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// SPDX-License-Identifier: UNLICENSED | ||
pragma solidity >=0.8.9; | ||
pragma solidity ^0.8.0; | ||
|
||
library Random { | ||
/* | ||
|
This file was deleted.
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,64 @@ | ||
import { task, HardhatUserConfig } from "hardhat/config"; | ||
import "@nomiclabs/hardhat-waffle"; | ||
import "hardhat-gas-reporter"; | ||
import "solidity-coverage"; | ||
import "hardhat-contract-sizer"; | ||
import "@typechain/hardhat"; | ||
import "@nomiclabs/hardhat-ethers"; | ||
import "hardhat-watcher"; | ||
|
||
// The next line is part of the sample project, you don't need it in your | ||
// project. It imports a Hardhat task definition, that can be used for | ||
// testing the frontend. | ||
require("./tasks/faucet"); | ||
|
||
// If you are using MetaMask, be sure to change the chainId to 1337 | ||
const config: HardhatUserConfig = { | ||
solidity: { | ||
version: "0.8.9", | ||
settings: { | ||
optimizer: { | ||
enabled: true, | ||
runs: 150, | ||
}, | ||
}, | ||
}, | ||
networks: { | ||
hardhat: { | ||
chainId: 31337, | ||
allowUnlimitedContractSize: true, | ||
}, | ||
// rinkeby: { | ||
// url: "https://eth-rinkeby.alchemyapi.io/v2/123abc123abc123abc123abc123abcde", | ||
// accounts: [privateKey1, privateKey2, ...] | ||
// }, | ||
}, | ||
paths: { | ||
sources: "./contracts", | ||
tests: "./test", | ||
cache: "./cache", | ||
artifacts: "./artifacts", | ||
}, | ||
contractSizer: { | ||
alphaSort: true, | ||
runOnCompile: false, | ||
}, | ||
watcher: { | ||
test: { | ||
tasks: [ | ||
"clean", | ||
{ command: "compile", params: { quiet: true } }, | ||
{ | ||
command: "test", | ||
params: { | ||
testFiles: ["./test/unit/index.ts"], | ||
}, | ||
}, | ||
], | ||
files: ["./test/**/*"], | ||
verbose: true, | ||
}, | ||
}, | ||
}; | ||
|
||
export default config; |
Oops, something went wrong.