Skip to content

Commit 1e21cae

Browse files
committed
fix: use toolbox viem
1 parent 2799199 commit 1e21cae

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

hardhat.config.ts

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import '@nomicfoundation/hardhat-foundry';
2-
import '@nomicfoundation/hardhat-toolbox';
3-
import '@nomiclabs/hardhat-solhint';
4-
import type { HardhatUserConfig } from 'hardhat/config';
1+
import "@nomicfoundation/hardhat-foundry";
2+
import "@nomicfoundation/hardhat-toolbox-viem";
3+
import "@nomiclabs/hardhat-solhint";
4+
import type { HardhatUserConfig } from "hardhat/config";
55

66
const config: HardhatUserConfig = {
77
solidity: {
8-
version: '0.8.26',
8+
version: "0.8.26",
99
settings: {
1010
viaIR: true,
1111
optimizer: {
@@ -17,18 +17,16 @@ const config: HardhatUserConfig = {
1717
networks: {
1818
hardhat: {},
1919
btp: {
20-
url: process.env.BTP_RPC_URL || '',
21-
gasPrice: process.env.BTP_GAS_PRICE
22-
? parseInt(process.env.BTP_GAS_PRICE)
23-
: 'auto',
20+
url: process.env.BTP_RPC_URL || "",
21+
gasPrice: process.env.BTP_GAS_PRICE ? parseInt(process.env.BTP_GAS_PRICE) : "auto",
2422
},
2523
},
2624
etherscan: {
2725
apiKey: process.env.ETHERSCAN_API_KEY,
2826
},
2927
sourcify: {
3028
enabled: true,
31-
},
29+
}
3230
};
3331

34-
export default config;
32+
export default config;

0 commit comments

Comments
 (0)