mirror of
https://github.com/status-im/dagger-contracts.git
synced 2025-01-12 23:35:49 +00:00
cc69f3a3ae
Mine a block every 4 minutes, to keep hardhat from forgetting about websocket subscriptions after 5 minutes.
50 lines
1010 B
JavaScript
50 lines
1010 B
JavaScript
require("@nomiclabs/hardhat-waffle")
|
|
require("hardhat-deploy")
|
|
require("hardhat-deploy-ethers")
|
|
|
|
module.exports = {
|
|
solidity: {
|
|
version: "0.8.23",
|
|
settings: {
|
|
evmVersion: "paris",
|
|
optimizer: {
|
|
enabled: true,
|
|
runs: 1000,
|
|
},
|
|
},
|
|
},
|
|
mocha: {
|
|
bail: true,
|
|
slow: 200,
|
|
timeout: 30 * 1000,
|
|
},
|
|
namedAccounts: {
|
|
deployer: { default: 0 },
|
|
},
|
|
networks: {
|
|
hardhat: {
|
|
tags: ["local"],
|
|
mining: {
|
|
auto: true,
|
|
// Workaround for https://github.com/NomicFoundation/hardhat/issues/2053
|
|
interval: 4 * 60 * 1000
|
|
}
|
|
},
|
|
codexdisttestnetwork: {
|
|
url: `${process.env.DISTTEST_NETWORK_URL}`,
|
|
},
|
|
codex_devnet: {
|
|
url: `${process.env.CODEX_DEVNET_URL}`,
|
|
},
|
|
codex_testnet: {
|
|
url: `${process.env.CODEX_TESTNET_URL}`,
|
|
},
|
|
taiko_test: {
|
|
url: "https://rpc.test.taiko.xyz",
|
|
accounts: [
|
|
// "<YOUR_SEPOLIA_TEST_WALLET_PRIVATE_KEY_HERE>"
|
|
],
|
|
},
|
|
},
|
|
}
|