Skip to content

Rename ACL preparation functions and add a convenient helper#34

Merged
cedricjiang merged 2 commits into
mainfrom
help
Oct 28, 2025
Merged

Rename ACL preparation functions and add a convenient helper#34
cedricjiang merged 2 commits into
mainfrom
help

Conversation

@cedricjiang

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread contracts/Spf.sol
/// with the transaction sender as the requester.
///
/// @dev see `prepareContractRunAccess` and `requestAclAsSender`
function senderAllowCurrentContractRun(SpfParameter memory ciphertext, SpfLibrary lib, SpfProgram prog)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ryanorendorff this is what you ask for, note that pushing this requires changing our docs because of the function renames, this also requires changes to some other repos that use this as submodules (if they update to this version), not urgent but better do them sooner than later

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would rename this allowContractRun or something like that; the sender is ideally implied.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the name is potentially confusing if you have a version similar to this just requestAclAsContract

@cedricjiang cedricjiang merged commit dda5e64 into main Oct 28, 2025
2 checks passed
@cedricjiang cedricjiang deleted the help branch October 28, 2025 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants