Skip to content

Commit

Permalink
Add link to paymaster test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrigada committed Oct 4, 2024
1 parent 4d45224 commit 7ca8b39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/zksync-specifics/cheatcodes/zk-use-paymaster.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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.

0 comments on commit 7ca8b39

Please sign in to comment.