-
Team or Projectopenzk ZK chainopenzk-testnet (https://openzk-testnet.rpc.caldera.xyz/http/) EnvironmentTestnet L2 block numberNo response Provide a brief description of the functionality you're trying to implement and the issue you are running into.I'm trying to send a transaction which uses a custom paymaster I deployed following the MyPaymaster contract from here: https://code.zksync.io/tutorials/erc20-paymaster Code snippet that sends the transaction:
Repo Link (Optional)No response Additional DetailsNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hi @Enghin84, I see you are trying to deploy the codebase from the custom paymaster tutorial to a non-ZKsync-based ZK chain (openzk-testnet). The paymaster code and approach in the ERC20 Paymaster tutorial is targeted for ZKsync Era and/or Zksync's ZK Stack based chains (for example, Abstract, Sophon, etc). The implementation of paymasters and AA these chains have, and the sdks and contract interfaces are tailored for ZKsync’s protocol. If you are deploying on a non-zkync's zk stack chain such as openzk-testnet, the paymaster logic, transaction validation rules, and storage access patterns may differ. This is likely why you are encountering the |
Beta Was this translation helpful? Give feedback.
Hey @Enghin84 I just ran the tutorial on openzk testnet (check on openzk explorer) and it worked (not throwing any error).