additional notes for the production ready code

Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
Uncle Fatso 2026-10-16 15:48:12 +03:00
parent 3e380b6da7
commit 4d42442ad9
Signed by: f4ts0
GPG Key ID: 565F4F2860226EBB

View File

@ -59,6 +59,9 @@ contract Gatekeeper is IGatekeeper, Weaver, ReentrancyGuard {
require(previousStorage != address(0)); require(previousStorage != address(0));
storageHistory = previousStorage; storageHistory = previousStorage;
// TODO: uncomment line below, needed only for testing purposes
// This one should always drop the deployer.
// deployer = address(0);
deployer = IGatekeeper(_previousGatekeeperAddress).deployer(); deployer = IGatekeeper(_previousGatekeeperAddress).deployer();
Weaver._initialize(_previousGatekeeperAddress); Weaver._initialize(_previousGatekeeperAddress);