From 7ca8b398d8a9c4a88bc2bdd56c8595beef7a10e2 Mon Sep 17 00:00:00 2001 From: Jrigada Date: Fri, 4 Oct 2024 11:14:04 -0300 Subject: [PATCH] Add link to paymaster test --- src/zksync-specifics/cheatcodes/zk-use-paymaster.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zksync-specifics/cheatcodes/zk-use-paymaster.md b/src/zksync-specifics/cheatcodes/zk-use-paymaster.md index f8e8a0c56..28ea8353c 100644 --- a/src/zksync-specifics/cheatcodes/zk-use-paymaster.md +++ b/src/zksync-specifics/cheatcodes/zk-use-paymaster.md @@ -50,7 +50,7 @@ contract MyPaymaster is IPaymaster { require(success, "Failed to transfer tx fee to the bootloader"); } - function postTransaction( + function postTransaction( bytes calldata _context, Transaction calldata _transaction, bytes32, @@ -86,6 +86,6 @@ vm.zkUsePaymaster(address(paymaster), abi.encodeWithSelector( )); ``` -For more examples, see the [Foundry ZkSync Paymaster Tests](TBD). +For more examples, see the [Foundry ZkSync Paymaster Tests](https://github.com/matter-labs/foundry-zksync/blob/main/crates/forge/tests/fixtures/zk/Paymaster.t.sol). Also, see the [ZKsync Paymaster Documentation](https://docs.zksync.io/build/developer-reference/account-abstraction/paymasters) for more information. \ No newline at end of file