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

feat: zksync support in baseTest #51

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

ianflexa
Copy link
Contributor

@ianflexa ianflexa commented Nov 1, 2024

Add zksync support in the baseTest:

  • Checks if the chain tested against is the zksync network, so:
  1. The adapter parameters will be fetched from the encoded adapterParams variable
  2. The adapter will be deployed using the virtual _createAdapter(capAdapterParams)
  • Changes the BlockUtils.sol functions visibility to internal
  • Adds zksync profile in foundry.tombl

OBS.: Currently, the foundry zksync does not support vm.makePersistent(address) (or is with some bug), so the capo report cannot be generated.
An issue was opened here matter-labs/foundry-zksync#687

@brotherlymite
Copy link
Contributor

I would also add CI support for zkSync, similar to this

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