-
Notifications
You must be signed in to change notification settings - Fork 79
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 42 modules specs #253
Sma 42 modules specs #253
Conversation
SMA-42 SA V2 - modules - Add validation modules specs
Define interfaces, classes and types for biconomy/modules package. |
packages/modules/src/utils/Utils.ts
Outdated
return keccak256(enc) | ||
} | ||
|
||
export function packUserOp(op: UserOperation, forSignature = true): string { |
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.
why getUserOpHash and packUserOp methods are in modules utils?? They should be in SA utils.
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.
we use it here only. SA package makes read call in the SDK. I can move these to common package maybe
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.
yes common package makes sense.
Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration:
Checklist: