-
Notifications
You must be signed in to change notification settings - Fork 217
feat(cli): deploy BatchStoreModule #3813
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
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
ResourceId tableId, | ||
bytes32[][] memory keyTuples | ||
) external view returns (TableRecord[] memory records) { | ||
AccessControl._requireAccess(tableId, _msgSender()); |
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.
do we need access control the read function?
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.
oh whoops, copy pasta mistake
|
||
function setTableRecords(ResourceId tableId, TableRecord[] memory records) external { | ||
AccessControl._requireAccess(tableId, _msgSender()); | ||
|
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.
need to get field layout here to save gas
} | ||
|
||
function deleteTableRecords(ResourceId tableId, bytes32[][] memory keyTuples) external { | ||
AccessControl._requireAccess(tableId, _msgSender()); |
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.
should these be requireAccess
rather than _requireAccess
?
needed for #3812
closes #1445