...
- Database triggers - Oracle example
- Substrate weight and fee handling use cases in `pre-dispatch` and `post-dispatch` stages of transaction processing
- Smart contracts in other blockchains
- Event driven architecture
...
- Triggers can decide to emit events
- Events will be automatically emitted for WSV changes
- The events are based on WSV diff after particular transaction execution.
- Examples: AccountCreated(_), AcccountMetadataFieldSet(_), AccountBalanceChanged(_) etc.
Events emitted during execution of entities in the current block are added to the block. Though Triggers can react to them only in the next block.
...
4 - If block got enough votes - all peers execute block transactions and triggers in their order at block commit.
...
.
Other Triggers might just influence other transactions in a way that they are executed before them, but do not directly do anything to other transactions.
...