Skip to content

Commit

Permalink
Fix token_path declaration - Update 15_use_paymaster.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bzhongy authored Feb 20, 2024
1 parent ff81291 commit edc3ca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/15_use_paymaster.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit edc3ca3

Please sign in to comment.