From 2926b479a8c6123ba997136f9d95680ccbc8e53a Mon Sep 17 00:00:00 2001 From: Alex Hook <109601951+alexhooketh@users.noreply.github.com> Date: Sat, 28 Sep 2024 20:57:33 +0500 Subject: [PATCH] Update 00.index.md --- content/30.python/40.api/30.contracts/00.index.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/30.python/40.api/30.contracts/00.index.md b/content/30.python/40.api/30.contracts/00.index.md index 1a003e2..e5a625d 100644 --- a/content/30.python/40.api/30.contracts/00.index.md +++ b/content/30.python/40.api/30.contracts/00.index.md @@ -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 @@ -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)