Skip to content
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

fix: conditionally forward returnData to solvers #419

Merged
merged 7 commits into from
Sep 20, 2024

Conversation

BenSparksCode
Copy link
Contributor

@BenSparksCode BenSparksCode commented Sep 4, 2024

Changes:

  • Before, returnData was always being forwarded to solvers if it was returned from the UserOp but not the PreOps phase. However the correct behaviour here is to forward the returnData (regardless of if it was returned in UserOp or PreOps phase), only if the DAppControl's CallConfig sets forwardReturnData = true. Otherwise returnData is not forwarded to solvers. This intended behaviour has been implemented.

@BenSparksCode BenSparksCode marked this pull request as ready for review September 13, 2024 15:34
@thogard785
Copy link
Contributor

LGTM!

@BenSparksCode BenSparksCode merged commit 7ed34b9 into atlas-v1.1 Sep 20, 2024
3 checks passed
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