Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion content/30.python/40.api/30.contracts/00.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ def deploy_contract(
gas_limit=0, # UNKNOWN AT THIS STATE
gas_price=gas_price,
bytecode=storage_contract.bytecode,
max_priority_fee_per_gas=0, # if testnet
)

# ZkSync transaction gas estimation
Expand Down Expand Up @@ -247,7 +248,8 @@ _web3.zksync.gas_price
gas_limit=0,
gas_price=gas_price,
bytecode=storage_contract.bytecode,
salt=random_salt)
salt=random_salt,
max_priority_fee_per_gas=0)

# ZkSync transaction gas estimation
estimate_gas = zk_web3.zksync.eth_estimate_gas(create2_contract.tx)
Expand Down