Skip to content
Discussion options

You must be logged in to vote

@EngrPips @PatrickAlphaC It turns out the issue had nothing to do with my folder structure or Foundry config. I was using a newer version of account-abstraction mainy in EntryPoint.sol that includes recent updates like EIP-7702 support and some internal refactoring . Those changes caused the compiler to generate low-level instructions that zkSync’s zksolc doesn’t currently handle properly, which is why I kept hitting the EXTCODECOPY error.

After downgrading to the older commit 7af70c8, the same one used in the Cyfrin repo, everything compiled without any issues. So in my case, it was simply a version compatibility mismatch between account-abstraction and zksolc.

If you want to stay on th…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@EngrPips
Comment options

Answer selected by wasim007choudhary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants