Skip to content

Conversation

@fangting-alchemy
Copy link
Collaborator

ValidationData is now a data type in the codebase. We also have validationData in the userOp call flow to represent intermediate and final validation results. Renaming validationData to validationRes to improve readability and avoid confusion.

@fangting-alchemy fangting-alchemy changed the title rename validation res helper file and var names [2/n] rename validation res helper file and var names Jul 11, 2024
@fangting-alchemy fangting-alchemy requested a review from a team July 11, 2024 22:56
Copy link
Contributor

@adamegyed adamegyed left a comment

Choose a reason for hiding this comment

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

Looks good. Might help first-time readers if we call it "ValidationResult" more explicitly, but I'm ok with "ValidationRes" too.

Copy link
Contributor

@huaweigu huaweigu left a comment

Choose a reason for hiding this comment

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

LGTM.
Do we also need to update function names such as _packValidationData?

@fangting-alchemy fangting-alchemy merged commit 85f22d7 into validation Jul 16, 2024
@fangting-alchemy fangting-alchemy deleted the validation-names branch July 16, 2024 17:10
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.

4 participants