Action Lifecycle
Features
Any action submitted to the Micro-Rollup goes through a series of stages in its lifecycle. The action lifecycle is broadly classified into 2 groups
Execution Lifecycle
The execution lifecycle of an action directly relates to the updation of state within the Micro-Rollup.
It consists of the following stages:
- User creates an action
- User submits the action
- Action is acknowledged
- Action is included in a block
- Action is executed
The execution of the action can be successful or can be reverted based on the state transition function.
Confirmation Lifecycle
The confirmation lifecycle of an action relates to the finality of the action. It means if the action has been successfully received, executed, verified and stored on-chain.
It consists of the following stages:
- Action is acknowledged
- Action is executed
- Action is verified
- Action is finalized
Action finalization are split into 2 parts
- finalized and published on DA
- finalized and stored on Ethereum
Acccessing the Action Lifecycle
The action's lifecycle update can be accessed through micro-rollup's events
framework. More about this can be found in the Events section.