Skip to content

Commit

Permalink
chore(world): add explicit visibility to coreSystem [N-07] (#2029)
Browse files Browse the repository at this point in the history
  • Loading branch information
yonadaaa committed Jan 3, 2024
1 parent 1b86eac commit f8dab73
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/fuzzy-chefs-wait.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@latticexyz/world": patch
---

Added explicit `internal` visibility to the `coreSystem` variable in `CoreModule`.
2 changes: 1 addition & 1 deletion packages/world/src/modules/core/CoreModule.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f8dab73

Please sign in to comment.