File tree Expand file tree Collapse file tree 4 files changed +438
-45
lines changed Expand file tree Collapse file tree 4 files changed +438
-45
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ const config: HardhatUserConfig = {
2121 } ,
2222 networks : {
2323 hardhat : {
24- hardfork : "istanbul" ,
2524 accounts : getHardhatPrivateKeys ( ) ,
2625 } ,
2726 localhost : {
Original file line number Diff line number Diff line change 3434 "rename-extensions" : " for f in typechain/*.d.ts; do mv -- \" $f\" \" ${f%.d.ts}.ts\" ; done" ,
3535 "test" : " npx hardhat test --network localhost" ,
3636 "test:clean" : " yarn clean && yarn build && yarn test" ,
37+ "test:fast" : " NO_COMPILE=true TS_NODE_TRANSPILE_ONLY=1 npx hardhat test --network localhost --no-compile" ,
38+ "test:fast:compile" : " TS_NODE_TRANSPILE_ONLY=1 npx hardhat test --network localhost" ,
3739 "transpile" : " tsc" ,
3840 "transpile-dist" : " tsc -p tsconfig.dist.json" ,
3941 "typechain" : " npx hardhat typechain"
6567 "dotenv" : " ^8.2.0" ,
6668 "ethereum-waffle" : " ^3.2.1" ,
6769 "ethers" : " ^5.0.24" ,
68- "hardhat" : " ^2.0.6 " ,
70+ "hardhat" : " 2.2.1 " ,
6971 "hardhat-deploy" : " ^0.7.0-beta.39" ,
7072 "hardhat-typechain" : " ^0.3.4" ,
7173 "husky" : " ^4.2.5" ,
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ internalTask(TASK_COMPILE_SOLIDITY_COMPILE).setAction(setupNativeSolc);
2323// Fix gas to be string instead of number in typechain files
2424internalTask ( TASK_TEST_SETUP_TEST_ENVIRONMENT )
2525 . setAction ( async function setupNativeSolc ( { input } , { config } , runSuper ) {
26+ if ( process . env . NO_COMPILE === "true" ) return ;
27+
2628 const replace = require ( "replace-in-file" ) ;
2729
2830 const options = {
You can’t perform that action at this time.
0 commit comments