Skip to content

feat: make codebase compatible with v0.8 ref implementation#6

Closed
Mberic wants to merge 2 commits into
quantstamp:mainfrom
Mberic:feat/v0.8-compatibility
Closed

feat: make codebase compatible with v0.8 ref implementation#6
Mberic wants to merge 2 commits into
quantstamp:mainfrom
Mberic:feat/v0.8-compatibility

Conversation

@Mberic

@Mberic Mberic commented Jan 19, 2026

Copy link
Copy Markdown
Contributor
  1. Changed ERC-4337 rev to the one for v0.8 (i.e., 4cbc060)
  2. Changed OpenZeppelin rev from v4.9.3 to v5.5.0 (fcbae53). The previous OpenZeppelin revision (4.9.3) didn't include ReentrancyGuardTransient.sol, which was required for v0.8 of the ERC4337 ref implementation.
  3. Main changes in src/ERC4337Checker.sol and test/ files are (1) UserOperation to PackedUserOperation and (2) EntryPoint to EntryPointSimulations. This is because v0.8 separated the simulation logic from the EntryPoint contract. You may verify with the v0.7 changelog
  4. The BaseAccount in v0.8 also added the execute function, there4 affecting the MockAccount subclass. So I had to rename the execute defined in MockAccount to executeAttack

@Mberic Mberic closed this Jan 19, 2026
@Mberic Mberic deleted the feat/v0.8-compatibility branch January 30, 2026 05:46
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.

1 participant