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 E2E Tests For ERC-4337 v0.7 Bundler #300

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

nlordell
Copy link
Collaborator

@nlordell nlordell commented Mar 5, 2024

Fixes #227

This PR updates the E2E tests to work with the latest bundler for the EntryPoint contract v0.7. Note that there was a notable change in that the PackedUserOperation struct is only used on-chain, and the bundler RPC uses a different UserOperation type that is completely unpacked. This required some additional helper methods as well as some adjustments to tests to distinguish between the packed and unpacked versions of user operations.

Also, unfortunately the reference bundler repository is not tagged yet - so we are using a commit hash that corresponds to the latest version. I asked the 4337 team to create a new tag, at which point, I will update the docker file. Additionally, the latest bundler version uses submodules, so some dockerfile tweaking was required.

Note that the broken CI is expected until #270 is fixed.

@nlordell nlordell requested a review from a team as a code owner March 5, 2024 09:16
@nlordell nlordell requested review from akshay-ap, mmv08 and remedcu and removed request for a team March 5, 2024 09:16
@mmv08
Copy link
Member

mmv08 commented Mar 5, 2024

CI is broken though, it looks like the TS files failed to compile.

@nlordell
Copy link
Collaborator Author

nlordell commented Mar 5, 2024

CI is broken though, it looks like the TS files failed to compile.

Yup - this is a known issue (#270).

@nlordell nlordell merged commit f3129de into feature/entrypoint-v0.7 Mar 5, 2024
7 of 9 checks passed
@nlordell nlordell deleted the 227-fix-tests-for-0.7-bundler branch March 5, 2024 10:13
@github-actions github-actions bot locked and limited conversation to collaborators Mar 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants