L1 smart contracts support Validium natively
mationorato opened this issue · comments
era-contracts
repo has native support for validium already, so there is no need to use preprocessor.
Links for reference:
- https://github.com/matter-labs/era-contracts/blob/main/l1-contracts/contracts/zksync/Storage.sol#L172C15-L172C24
- https://github.com/matter-labs/era-contracts/blob/main/l1-contracts/contracts/zksync/Storage.sol#L90
- https://github.com/matter-labs/era-contracts/blob/main/l1-contracts/contracts/zksync/Storage.sol#L78
We also should get rid of the VALIDIUM_MODE
mode env var in the zk
tool, and era-contracts
repo