generated from bgd-labs/bgd-forge-template
-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
General guide:
- To install zksync foundry on your machine run:
curl -L https://raw.githubusercontent.com/matter-labs/foundry-zksync/main/install-foundry-zksync | bashandfoundryup-zksync. More info on this repo.
Please note, this will override your existingforgesetup. It is possible to use zksync foundry for non-zksync stuff without much issues, by just not using the--zksyncflag - general build command for zkSync:
FOUNDRY_PROFILE=zksync forge test --zksync - general test command for zkSync:
FOUNDRY_PROFILE=zksync forge build --zksync zksync/*: should contain all the contracts specific to zksync.
Guide for aave proposals on zkSync:
- generating proposals for zkSync can be done using the generator without any extra specific changes.
- zkSync specific payloads, tests and payload deployment and registering scripts reside in
zksync/src/*directory. - scripts for creating proposal and writeups (
.mdfile), independent if it has zkSync payloads or not reside in thesrc/*directory and not inzksync/*. - payloads should be deployed using the generated scripts and the payloadId should be entered manually in the proposal creation script, similar to this.
Metadata
Metadata
Assignees
Labels
No labels