From f8dab7334d41d1a53dfad0bbd13a1bbe6fc0cbf8 Mon Sep 17 00:00:00 2001 From: yonada Date: Wed, 3 Jan 2024 14:52:43 +0000 Subject: [PATCH] chore(world): add explicit visibility to coreSystem [N-07] (#2029) --- .changeset/fuzzy-chefs-wait.md | 5 +++++ packages/world/src/modules/core/CoreModule.sol | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/fuzzy-chefs-wait.md diff --git a/.changeset/fuzzy-chefs-wait.md b/.changeset/fuzzy-chefs-wait.md new file mode 100644 index 0000000000..68ba41172e --- /dev/null +++ b/.changeset/fuzzy-chefs-wait.md @@ -0,0 +1,5 @@ +--- +"@latticexyz/world": patch +--- + +Added explicit `internal` visibility to the `coreSystem` variable in `CoreModule`. diff --git a/packages/world/src/modules/core/CoreModule.sol b/packages/world/src/modules/core/CoreModule.sol index c897964c8f..c4ee5eb450 100644 --- a/packages/world/src/modules/core/CoreModule.sol +++ b/packages/world/src/modules/core/CoreModule.sol @@ -46,7 +46,7 @@ contract CoreModule is Module { * @dev Since the CoreSystem only exists once per World and writes to * known tables, we can deploy it once and register it in multiple Worlds. */ - address immutable coreSystem = address(new CoreSystem()); + address internal immutable coreSystem = address(new CoreSystem()); /** * @notice Get the name of the module.