Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1.36 KB

README.md

File metadata and controls

35 lines (27 loc) · 1.36 KB

BGD Labs Solidity utils

Common contracts we use almost everywhere

Create3

Contracts to deploy a Create3 Factory which so that contract addresses can be predicted without influence from constructor arguments.

These contracts where modified from:

ZkSync

As ZkSync network requires the use of a forked version of foundry we have created different profiles so that they can run as expected.

  • Contracts specific for ZkSync network can be found here
  • Tests specific for ZkSync network can be found here

To build and test the contracts use FOUNDRY_PROFILE=zksync and the flag --zksync

  • Example:
FOUNDRY_PROFILE=zksync forge test -vvv --zksync