diff --git a/gemforge.config.cjs b/gemforge.config.cjs index 38f6b36..7fef1ad 100644 --- a/gemforge.config.cjs +++ b/gemforge.config.cjs @@ -67,7 +67,7 @@ module.exports = { // diamond configuration diamond: { // Whether to include public methods when generating the IDiamondProxy interface. Default is to only include external methods. - publicMethods: false, + publicMethods: true, init: { contract: "InitDiamond", function: "init", diff --git a/package.json b/package.json index 978a608..e3e61f3 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "@commitlint/config-conventional": "^18.6.2", "chalk": "4", "dotenv": "^16.4.5", - "gemforge": "^2.12.1", + "gemforge": "^2.13.1", "husky": "^9.0.11", "prettier": "^3.2.5", "viem": "^2.10.5", diff --git a/src/shared/AppStorage.sol b/src/shared/AppStorage.sol index 7053e2f..541e885 100644 --- a/src/shared/AppStorage.sol +++ b/src/shared/AppStorage.sol @@ -11,8 +11,7 @@ struct AppStorage { bool diamondInitialized; //// EIP712 domain separator //// uint256 initialChainId; - bytes32 initialDomainSeparator; // note: this is unused. Check the method DOMAIN_SEPARATOR() in the NaymsTokenFacet - // for the domain separator + bytes32 initialDomainSeparator; // note: Deprecated. Use the method DOMAIN_SEPARATOR() in NaymsTokenFacet //// Reentrancy guard //// uint256 reentrancyStatus; //// NAYMS ERC20 TOKEN //// diff --git a/yarn.lock b/yarn.lock index 1507a37..36069ff 100644 --- a/yarn.lock +++ b/yarn.lock @@ -647,10 +647,10 @@ function-bind@^1.1.2: resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== -gemforge@^2.12.1: - version "2.12.1" - resolved "https://registry.yarnpkg.com/gemforge/-/gemforge-2.12.1.tgz#7b02725359b61e74ba93550c22bfcbb4909f8089" - integrity sha512-3grKf0hHGKUG+TmVW1MOttxRM7yX1XgAZlSgHQOtmK0+V/Nrk4QVLydMNSJeTyFYKYHl10i1qpe7mBPJrWgMmQ== +gemforge@^2.13.1: + version "2.13.1" + resolved "https://registry.yarnpkg.com/gemforge/-/gemforge-2.13.1.tgz#28f32423586fe41b9fe69b324a928ca15a036253" + integrity sha512-cJZbhvD1Zy5RRN2fMVnHdl2TzJLldD1+wNQnJiLeqDjspnaRTBxuVd1jQAZjAL3rQw0XK+LvxkZvvF3r0TEGDQ== dependencies: "@solidity-parser/parser" "^0.16.1" bigval "^1.7.0"