Skip to content

Commit

Permalink
fix(world): register FunctionSignatures table [L-01] (#1841)
Browse files Browse the repository at this point in the history
Co-authored-by: alvarius <alvarius@lattice.xyz>
  • Loading branch information
holic and alvrs authored Dec 4, 2023
1 parent 082a859 commit e5a962b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/late-cobras-ring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@latticexyz/world": patch
---

`World` now correctly registers the `FunctionSignatures` table.
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 @@ -23,6 +23,7 @@ import { CORE_MODULE_NAME, CORE_SYSTEM_ID } from "./constants.sol";

import { Systems } from "../../codegen/tables/Systems.sol";
import { FunctionSelectors } from "../../codegen/tables/FunctionSelectors.sol";
import { FunctionSignatures } from "../../codegen/tables/FunctionSignatures.sol";
import { SystemHooks } from "../../codegen/tables/SystemHooks.sol";
import { SystemRegistry } from "../../codegen/tables/SystemRegistry.sol";
import { Balances } from "../../codegen/tables/Balances.sol";
Expand Down Expand Up @@ -87,6 +88,7 @@ contract CoreModule is Module {
ResourceAccess.register();
Systems.register();
FunctionSelectors.register();
FunctionSignatures.register();
SystemHooks.register();
SystemRegistry.register();

Expand Down

0 comments on commit e5a962b

Please sign in to comment.