From edc3ca3bf4f0de13f759fc0c4a7d1326785a663e Mon Sep 17 00:00:00 2001 From: bzhong <91816179+bzhongy@users.noreply.github.com> Date: Tue, 20 Feb 2024 13:22:17 +1100 Subject: [PATCH] Fix token_path declaration - Update 15_use_paymaster.py --- python/15_use_paymaster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/15_use_paymaster.py b/python/15_use_paymaster.py index a28b47f..30cb76d 100644 --- a/python/15_use_paymaster.py +++ b/python/15_use_paymaster.py @@ -43,7 +43,7 @@ def get_abi_from_standard_json(standard_json: Path): paymaster_address = zk_web3.to_checksum_address("0x13D0D8550769f59aa241a41897D4859c87f7Dd46") # Provide a compiled JSON source contract - contract_path = Path("../solidity/custom_paymaster/token/build/Token.json") + token_path = Path("../solidity/custom_paymaster/token/build/Token.json") token_json = ContractEncoder.from_json(zk_web3, token_path, JsonConfiguration.STANDARD) token_contract = zk_web3.zksync.contract(token_address, abi=token_json.abi)