Skip to content

Commit

Permalink
chore: bump gemforge to 2.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
amarinkovic committed Oct 17, 2024
1 parent 728ac25 commit 9815f3c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
6 changes: 4 additions & 2 deletions gemforge.config.cjs
Original file line number Diff line number Diff line change
@@ -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,
Expand Down Expand Up @@ -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] },
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -60,3 +60,4 @@
"yarn": "^1.22.19"
}
}

8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9815f3c

Please sign in to comment.