-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/pimlicolabs/docs
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,22 @@ In an Externally Owned Account (EOA), the `nonce` is a simple incrementing numbe | |
|
||
For each unique `key`, the sequence must be incremented by 1 for each transaction. This means that if you send multiple transactions in parallel, you can use different `keys` for the parallel transactions. | ||
|
||
### Parallel Transactions Ordering | ||
Important thing to note is that parallel transaction's ordering is not guaranteed. So execution of random `key` on chain could be: | ||
|
||
- [key-C][sequence-0] | ||
- [key-A][sequence-0] | ||
- [key-B][sequence-0] | ||
|
||
While execution of `sequence` for a specific `key` will always be in order. So the following is a valid order of execution: | ||
1. [key-C][sequence-0] | ||
2. [key-A][sequence-0] | ||
3. [key-C][sequence-1] | ||
4. [key-B][sequence-0] | ||
5. [key-A][sequence-1] | ||
6. [key-B][sequence-1] | ||
|
||
|
||
:::info | ||
Note: Pimlico bundler currently only support up to 10 parallel transactions. If you need to send more than 10 transactions in parallel feel free to contact us at [[email protected]](mailto:[email protected]). | ||
::: | ||
|