Commit before cuna
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
require("@openzeppelin/hardhat-upgrades");
|
||||
require("@nomicfoundation/hardhat-ignition-ethers");
|
||||
require("hardhat-contract-sizer");
|
||||
// require("hardhat-contract-sizer"); // Temporarily disabled for testing
|
||||
require("@nomicfoundation/hardhat-verify");
|
||||
require("dotenv").config();
|
||||
|
||||
@@ -9,12 +9,12 @@ const env = process.env;
|
||||
// https://hardhat.org/guides/create-task.html
|
||||
|
||||
module.exports = {
|
||||
contractSizer: {
|
||||
alphaSort: true,
|
||||
disambiguatePaths: false,
|
||||
runOnCompile: true,
|
||||
strict: true,
|
||||
},
|
||||
// contractSizer: {
|
||||
// alphaSort: true,
|
||||
// disambiguatePaths: false,
|
||||
// runOnCompile: true,
|
||||
// strict: true,
|
||||
// },
|
||||
solidity: {
|
||||
compilers: [
|
||||
{
|
||||
@@ -78,17 +78,18 @@ module.exports = {
|
||||
},
|
||||
networks: {
|
||||
hardhat: {
|
||||
chainId: 31337,
|
||||
allowUnlimitedContractSize: true,
|
||||
forking: {
|
||||
url: `https://rpc.soniclabs.com`,
|
||||
blockNumber: 37000000,
|
||||
url: `https://bsc-mainnet.nodereal.io/v1/f82aa3b8072a46ccadf3024a96f0cff4`,
|
||||
},
|
||||
},
|
||||
local: {
|
||||
url: "http://127.0.0.1:8545",
|
||||
forking: {
|
||||
url: `https://bsc-mainnet.nodereal.io/v1/f82aa3b8072a46ccadf3024a96f0cff4`,
|
||||
url: `https://bsc-dataseed1.binance.org`,
|
||||
chainId: 56,
|
||||
blockNumber: 30010000,
|
||||
// blockNumber: 57523483,
|
||||
},
|
||||
},
|
||||
sascha: {
|
||||
@@ -140,7 +141,7 @@ module.exports = {
|
||||
url: "http://127.0.0.1:8545",
|
||||
forking: {
|
||||
url: `https://rpc.soniclabs.com`,
|
||||
blockNumber: 37513000, // Recent block
|
||||
// blockNumber: 37513000, // Recent block
|
||||
},
|
||||
accounts: env.PRIVATE_KEY ? [env.PRIVATE_KEY] : [],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user