Skip to content

Commit

Permalink
fix: typo in aa.html
Browse files Browse the repository at this point in the history
  • Loading branch information
andriidrebot authored Jun 23, 2022
1 parent 17f54b3 commit 0be1dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/dev/zksync-v2/aa.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The system charges fee by doing an ERC20/ETH `transfer` from the account to the

In the EIP4337 you can see three types of gas limits: `verificationGas`, `executionGas`, `preVerificationGas`, which describe the gasLimit for different steps of transaction's inlcusion in block. Currently, zkSync supports only a single field `ergsLimit`, which covers the fee for all of the three. So, when submitting a transaction make sure that the `ergsLimit` is enough to cover verification, pulling the fee (the ERC20 transfer mentioned above) and the actual execution itself.

By default, calling `estimageGas` adds a constant of `20000` to cover charging the fee and the signature verification for EOA accounts.
By default, calling `estimateGas` adds a constant of `20000` to cover charging the fee and the signature verification for EOA accounts.

## Building custom accounts

Expand Down

0 comments on commit 0be1dd7

Please sign in to comment.