From cf640158a1b39627f383522ebc809ce6c294c691 Mon Sep 17 00:00:00 2001 From: Adam Gall Date: Wed, 9 Oct 2024 17:24:06 -0400 Subject: [PATCH] Support solidity version 0.8.28 in hardhat config --- hardhat.config.ts | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/hardhat.config.ts b/hardhat.config.ts index 85d222f6..9f896ddf 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -13,13 +13,26 @@ const dummyPrivateKey = const config: HardhatUserConfig = { solidity: { - version: "0.8.19", - settings: { - optimizer: { - enabled: true, - runs: 200, + compilers: [ + { + version: "0.8.19", + settings: { + optimizer: { + enabled: true, + runs: 200, + }, + }, }, - }, + { + version: "0.8.28", + settings: { + optimizer: { + enabled: true, + runs: 200, + }, + }, + }, + ], }, dependencyCompiler: { paths: [