diff --git a/hardhat.config.ts b/hardhat.config.ts index bf106c3..79beba4 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -10,7 +10,7 @@ import '@nomicfoundation/hardhat-chai-matchers'; const config: HardhatUserConfig = { defaultNetwork: "hardhat", solidity: { - version: "0.8.24", + version: "0.8.26", settings: { evmVersion: 'istanbul', optimizer: { diff --git a/scripts/terminal.ts b/scripts/terminal.ts index c5168e3..b29a7b4 100644 --- a/scripts/terminal.ts +++ b/scripts/terminal.ts @@ -8,11 +8,11 @@ import { deployAllContracts, deployLightMigrator, deployDelayProviderAndMigrator, - deployMoonbeam + deployWithoutRefund } from "./utility/deployment/execute" const scriptPaths = [ - "Moonbeam.ts", + "withoutRefund.ts", "VaultAndLockDealNFT.ts", "SimpleProviders.ts", "RefundProvider.ts", @@ -39,7 +39,7 @@ async function displayMenu() { await deployAllContracts() break case menuItems[1].name: - await deployMoonbeam() + await deployWithoutRefund() break case menuItems[2].name: await deployVaultAndLockDealNFT() diff --git a/scripts/utility/deployment/execute.ts b/scripts/utility/deployment/execute.ts index e2c46d2..135bc27 100644 --- a/scripts/utility/deployment/execute.ts +++ b/scripts/utility/deployment/execute.ts @@ -70,7 +70,7 @@ export async function deployAllContracts() { await executeScript("AllContracts", "scripts/deploy.ts"); } -export async function deployMoonbeam() { +export async function deployWithoutRefund() { process.env.BASEURI = await getBaseURI(); - await executeScript("Moonbeam", "scripts/moonbeam.ts"); + await executeScript("deploy core contracts without Refund", "scripts/withoutRefund.ts"); } \ No newline at end of file diff --git a/scripts/moonbeam.ts b/scripts/withoutRefund.ts similarity index 92% rename from scripts/moonbeam.ts rename to scripts/withoutRefund.ts index 41a45b3..1b29d06 100644 --- a/scripts/moonbeam.ts +++ b/scripts/withoutRefund.ts @@ -8,7 +8,7 @@ import { } from "../typechain-types" import { deploy } from "./utility/deployment" -async function deployMoonbeamContracts(baseURI: string = "") { +async function deployAllContractsWithoutRefund(baseURI: string = "") { const vaultManager: VaultManager = await deploy("VaultManager") // Deploy LockDealNFT contract @@ -38,7 +38,7 @@ async function deployMoonbeamContracts(baseURI: string = "") { const baseURI = process.env.BASEURI || "" -deployMoonbeamContracts(baseURI).catch((error) => { +deployAllContractsWithoutRefund(baseURI).catch((error) => { console.error(error) process.exitCode = 1 })