Skip to content

Commit

Permalink
Improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vdrg committed Nov 25, 2024
1 parent 1d0094e commit d1d1ca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/world/src/SystemCall.sol
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ library SystemCall {
if (systemAddress == address(0)) revert IWorldErrors.World_ResourceNotFound(systemId, systemId.toString());

// Staticcalls are not supported for root systems yet, as it would require a runtime check
// that we are in the context of a staticcall
// that we are in the context of a staticcall before performing the delegatecall
if (systemId.getNamespace() == ROOT_NAMESPACE) revert IWorldErrors.World_InvalidNamespace(ROOT_NAMESPACE);

// Allow access if the system is public or the caller has access to the namespace or name
Expand Down

0 comments on commit d1d1ca6

Please sign in to comment.