Skip to content

Commit

Permalink
fix(world): register Delegations table in CoreModule (#1452)
Browse files Browse the repository at this point in the history
  • Loading branch information
alvrs committed Sep 13, 2023
1 parent 6dc3365 commit f1cd43b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/quiet-dancers-prove.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@latticexyz/world": patch
---

Register `Delegations` table in the `CoreModule`
2 changes: 2 additions & 0 deletions packages/world/src/modules/core/CoreModule.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { ResourceSelector } from "../../ResourceSelector.sol";
import { NamespaceOwner } from "../../tables/NamespaceOwner.sol";
import { ResourceAccess } from "../../tables/ResourceAccess.sol";
import { InstalledModules } from "../../tables/InstalledModules.sol";
import { Delegations } from "../../tables/Delegations.sol";

import { CoreSystem } from "./CoreSystem.sol";
import { CORE_MODULE_NAME, CORE_SYSTEM_NAME } from "./constants.sol";
Expand Down Expand Up @@ -64,6 +65,7 @@ contract CoreModule is Module {
function _registerCoreTables() internal {
Balances.register();
InstalledModules.register();
Delegations.register();
ResourceAccess.register();
Systems.register();
FunctionSelectors.register();
Expand Down

0 comments on commit f1cd43b

Please sign in to comment.