Skip to content

Commit

Permalink
Update transaction-life-cycle.adoc with a note on rejected transactio…
Browse files Browse the repository at this point in the history
…ns (#1141)

* Update transaction-life-cycle.adoc with a note on rejected transactions

* Update components/Starknet/modules/architecture_and_concepts/pages/Network_Architecture/transaction-life-cycle.adoc

* Tightening up some info about REJECTED and RECEIVED txs.

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Steve Goodman <39279277+stoobie@users.noreply.github.com>

---------

Co-authored-by: Steve Goodman <39279277+stoobie@users.noreply.github.com>
  • Loading branch information
odednaor and stoobie authored Feb 22, 2024
1 parent 464aa09 commit 0629388
Showing 1 changed file with 12 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,24 @@ The following are the possible statuses of a transaction from the moment a user
|Status type |Status |Explanation

.5+|*Finality* |`NOT_RECEIVED` |The transaction is not yet known to the sequencer.
|`RECEIVED` |The transaction was received by the mempool. The transaction now either executes successfully, is rejected, or reverted.
|`REJECTED` |The transaction was received by the mempool but failed validation in the sequencer. Such transactions are not included in a block.
|`RECEIVED` a|The transaction was received by the mempool. The transaction now either executes successfully, is rejected, or reverted.

The transaction has no execution status.
|`REJECTED` a|The transaction was received by the mempool but failed validation in the sequencer. Such transactions are not included in a block.

The transaction has no execution status.


[NOTE]
====
A `REJECTED` transaction is stored in the mempool. You cannot send another transaction with the same transaction hash.
====
|`ACCEPTED_ON_L2` |The transaction was executed and entered an actual created block on L2.
|`ACCEPTED_ON_L1` |The transaction was accepted on Ethereum.
.2+|*Execution* |`REVERTED` |The transaction passed validation but failed during execution in the sequencer. It is included in the block with the status `REVERTED`.
|`SUCCEEDED` |The transaction was successfully executed by the sequencer. It is included in the block.
|===

[NOTE]
====
If the finality status of a transaction is `RECEIVED` or `REJECTED`, the transaction does not have an execution status.
====

[id="transaction-state-implications"]
== State implications of a reverted transaction

Expand Down

0 comments on commit 0629388

Please sign in to comment.