-
Notifications
You must be signed in to change notification settings - Fork 175
Open
Labels
Description
There are many places in foundry-zksync codebase where we deal with zksync transactions and zksync transaction fields. These add the same fields as configuration every time so there might be room to unify the argument definition and some helpers, the same way foundry does with the cli transaction module.
Sample instances where we use this:
- zksync build opts (it is actually semantically wrong to have paymaster params here):
pub paymaster_address: Option<Address>, - script args have
gasPerPubdata:foundry-zksync/crates/script/src/lib.rs
Line 223 in 7ef8c11
pub zk_gas_per_pubdata: Option<u64>, - cast send:
paymaster_address: Option<String>, - cast estimate (PR in progress): https://github.com/matter-labs/foundry-zksync/pull/903/files#diff-014b12e44c97400f71f424549afa0d42cfd880fe1d89b9a2792d8bf316411853R17
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Todo