-
Notifications
You must be signed in to change notification settings - Fork 83
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
SMA-355 [WIP] Gas Optimisations #179
Conversation
SMA-355 Gas Optimization SCW-Contract ⛽️
Implement gas optimizations on the current stable version of the SCW contract. This phase prioritizes the enhancement of existing implementations, focusing on core implementation and widely used modules. Completing this milestone may require coordinating with auditors if significant changes are made. |
@@ -28,6 +28,6 @@ interface ISignatureValidator { | |||
*/ | |||
function isValidSignatureUnsafe( | |||
bytes32 dataHash, | |||
bytes memory moduleSignature | |||
bytes calldata moduleSignature |
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.
any specific rationale for this?
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.
calldata can be sliced => cheaper
contracts/smart-account/modules/EcdsaOwnershipRegistryModule.sol
Outdated
Show resolved
Hide resolved
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.
LGTM
Summary
Gas Optimisations
Related Issue: #SMA-355
Change Type
Checklist