Skip to content

Commit

Permalink
chore: add function selector to core module
Browse files Browse the repository at this point in the history
  • Loading branch information
yonadaa committed Jan 17, 2024
1 parent 64fc6da commit b3a90db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/world/gas-report.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"file": "test/Factories.t.sol",
"test": "testWorldFactory",
"name": "deploy world via WorldFactory",
"gasUsed": 12321908
"gasUsed": 12386832
},
{
"file": "test/World.t.sol",
Expand Down
3 changes: 2 additions & 1 deletion packages/world/src/modules/core/CoreModule.sol
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ contract CoreModule is Module {
_registerRootFunctionSelector(BATCH_CALL_SYSTEM_ID, functionSignaturesBatchCall[i]);
}

string[12] memory functionSignaturesCoreRegistration = [
string[13] memory functionSignaturesCoreRegistration = [
// --- ModuleInstallationSystem ---
"installModule(address,bytes)",
// --- StoreRegistrationSystem ---
Expand All @@ -183,6 +183,7 @@ contract CoreModule is Module {
"registerFunctionSelector(bytes32,string)",
"registerRootFunctionSelector(bytes32,string,bytes4)",
"registerDelegation(address,bytes32,bytes)",
"unregisterDelegation(address)",
"registerNamespaceDelegation(bytes32,bytes32,bytes)"
];
for (uint256 i = 0; i < functionSignaturesCoreRegistration.length; i++) {
Expand Down

0 comments on commit b3a90db

Please sign in to comment.