You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
QR-Code-generator/solidity/hardhat.config.js

26 lines
551 B

import "@nomicfoundation/hardhat-toolbox";
/** @type import('hardhat/config').HardhatUserConfig */
const config = {
solidity: {
version: "0.8.34",
settings: {
viaIR: true,
optimizer: {
enabled: true,
runs: 200,
},
},
},
networks: {
hardhat: {
// QR Code generation requires significant gas.
// blockGasLimit increases the cap for calls; gas is the default per-tx limit.
blockGasLimit: 30_000_000,
allowUnlimitedContractSize: true,
},
},
};
export default config;