-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(store,world): rename ambiguous elements [N-03] #2091
Conversation
🦋 Changeset detectedLatest commit: c37c553 The changes in this PR will be included in the next version bump. This PR includes changesets to release 30 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
packages/store/src/Hook.sol
Outdated
@@ -30,15 +30,15 @@ library HookLib { | |||
* @notice Filter a hook from the hook list by its address. | |||
* @dev This function writes the updated hook list to the table in place. | |||
* @param hookTableId The resource ID of the hook table. | |||
* @param tableWithHooks The resource ID of the table with hooks to filter. | |||
* @param elementWithHooks The resource ID of the table with hooks to filter. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we name this resourceWithHooks
?
"element" is a term we've never used before and I think "resource" is more consistent: https://www.notion.so/latticexyz/MUD-naming-conventions-terminology-66e11356a1934465b2aa1a951c61a299
@@ -52,7 +52,7 @@ contract World is StoreData, IWorldKernel { | |||
/** | |||
* @dev Prevents the World contract from calling itself. | |||
*/ | |||
modifier requireNoCallback() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not blocking but I feel like we could expand the docs here to explain why this modifier is here and important to be used, esp since this relates to a now-fixed vulnerability
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added issue here: #2106
should prob add a changeset for this one since the modifier name changed |
No description provided.