Skip to content

Commit

Permalink
feat: set to hardhat 2.10.0 and ethers to 5.6.9
Browse files Browse the repository at this point in the history
  • Loading branch information
kartojal committed Jul 28, 2022
1 parent 5411930 commit 9b50898
Show file tree
Hide file tree
Showing 3 changed files with 5,803 additions and 5,895 deletions.
14 changes: 7 additions & 7 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import path from 'path';
import { HardhatUserConfig } from 'hardhat/types';
import {HardhatUserConfig} from 'hardhat/types';
// @ts-ignore
import { accounts } from './test-wallets.js';
import { COVERAGE_CHAINID, HARDHAT_CHAINID } from './helpers/constants';
import { buildForkConfig } from './helper-hardhat-config';
import {accounts} from './test-wallets.js';
import {COVERAGE_CHAINID, HARDHAT_CHAINID} from './helpers/constants';
import {buildForkConfig} from './helper-hardhat-config';

require('dotenv').config();

Expand All @@ -17,7 +17,7 @@ import '@tenderly/hardhat-tenderly';
import 'solidity-coverage';
import 'hardhat-contract-sizer';
import 'hardhat-dependency-compiler';
import { DEFAULT_NAMED_ACCOUNTS } from '@aave/deploy-v3';
import {DEFAULT_NAMED_ACCOUNTS} from '@aave/deploy-v3';

const DEFAULT_BLOCK_GAS_LIMIT = 12450000;
const HARDFORK = 'london';
Expand Down Expand Up @@ -48,7 +48,7 @@ const hardhatConfig: HardhatUserConfig = {
},
mocha: {
timeout: 0,
bail: false,
bail: true,
},
tenderly: {
project: process.env.TENDERLY_PROJECT || '',
Expand All @@ -72,7 +72,7 @@ const hardhatConfig: HardhatUserConfig = {
throwOnCallFailures: true,
forking: buildForkConfig(),
allowUnlimitedContractSize: true,
accounts: accounts.map(({ secretKey, balance }: { secretKey: string; balance: string }) => ({
accounts: accounts.map(({secretKey, balance}: {secretKey: string; balance: string}) => ({
privateKey: secretKey,
balance,
})),
Expand Down
Loading

0 comments on commit 9b50898

Please sign in to comment.