From 9815f3c66ec2fdf4eca6b6184765e9bc4ec90d8c Mon Sep 17 00:00:00 2001 From: Aleksandar Marinkovic Date: Thu, 17 Oct 2024 16:11:49 +0200 Subject: [PATCH] chore: bump gemforge to 2.12.0 --- gemforge.config.cjs | 6 ++++-- package.json | 3 ++- yarn.lock | 8 ++++---- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/gemforge.config.cjs b/gemforge.config.cjs index 213b6192..f55066f5 100644 --- a/gemforge.config.cjs +++ b/gemforge.config.cjs @@ -1,12 +1,14 @@ require("dotenv").config(); const fs = require("fs"); -const ethers = require("ethers"); +const { ethers, utils } = require("ethers"); const MNEMONIC = fs.existsSync("./nayms_mnemonic.txt") ? fs.readFileSync("./nayms_mnemonic.txt").toString().trim() : "test test test test test test test test test test test junk"; const sysAdminAddress = ethers.Wallet.fromMnemonic(MNEMONIC)?.address; +const localSalt = utils.keccak256(utils.toUtf8Bytes("salty3")) + module.exports = { // Configuration file version version: 2, @@ -157,7 +159,7 @@ module.exports = { }, targets: { // `governance` attribute is only releveant for testnets, it's a wallet to use to auto approve the upgrade ID within the script - local: { network: "local", wallet: "devOwnerWallet", governance: "devSysAdminWallet", initArgs: [sysAdminAddress], create3Salt: "0x73616c747933"}, + local: { network: "local", wallet: "devOwnerWallet", governance: "devSysAdminWallet", initArgs: [sysAdminAddress], create3Salt: localSalt}, sepolia: { network: "sepolia", wallet: "devOwnerWallet", governance: "devSysAdminWallet", initArgs: [sysAdminAddress] }, sepoliaFork: { network: "local", wallet: "devOwnerWallet", governance: "devSysAdminWallet", initArgs: [sysAdminAddress] }, mainnet: { network: "mainnet", wallet: "wallet3", initArgs: [sysAdminAddress] }, diff --git a/package.json b/package.json index 4d36df5a..2c56e8a5 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-promise": "^6.0.0", "ethers": "^5.6.9", - "gemforge": "^2.9.1", + "gemforge": "^2.12.0", "glob": "^8.0.3", "prettier": "^2.7.1", "prettier-plugin-solidity": "^1.0.0-beta.19", @@ -60,3 +60,4 @@ "yarn": "^1.22.19" } } + diff --git a/yarn.lock b/yarn.lock index a462394f..5be98f92 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2678,10 +2678,10 @@ functions-have-names@^1.2.3: resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834" integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ== -gemforge@^2.9.1: - version "2.9.1" - resolved "https://registry.yarnpkg.com/gemforge/-/gemforge-2.9.1.tgz#a4c73378764db4c6ad3ba09e566755137c6604cb" - integrity sha512-F6GcJm660xaDmRlYKI7yfI6AOwAfpXqvJrzI44fOF89rbQYv5YAOVHe+CslQZiM6aGdQ4KWf7aqbdxkmoUwjOg== +gemforge@^2.12.0: + version "2.12.1" + resolved "https://registry.yarnpkg.com/gemforge/-/gemforge-2.12.1.tgz#7b02725359b61e74ba93550c22bfcbb4909f8089" + integrity sha512-3grKf0hHGKUG+TmVW1MOttxRM7yX1XgAZlSgHQOtmK0+V/Nrk4QVLydMNSJeTyFYKYHl10i1qpe7mBPJrWgMmQ== dependencies: "@solidity-parser/parser" "^0.16.1" bigval "^1.7.0"