Skip to content

Commit

Permalink
feat: sequencer processes transactions in phases (AztecProtocol#4345)
Browse files Browse the repository at this point in the history
Turn public processor into a state machine to progress through the
phases:
1. Fee Prep
2. App Logic
3. Fee Distribution

Add abstract phase manager to hold common logic. 

Presently the Fee Prep and Fee Distribution phases are noops. 

In the logs you will now see:
```
aztec:sequencer:fee-preparation Handle 0f79ae7198b4ed85829f6881af69fc590ed986b528e74af252b3afe430172d99 with no-op +0ms
aztec:sequencer:application-logic Processing tx 0f79ae7198b4ed85829f6881af69fc590ed986b528e74af252b3afe430172d99 +0ms
aztec:sequencer:fee-distribution Handle 0f79ae7198b4ed85829f6881af69fc590ed986b528e74af252b3afe430172d99 with no-op +0ms
```
  • Loading branch information
just-mitch authored Feb 1, 2024
1 parent e1d832d commit 78cc709
Show file tree
Hide file tree
Showing 6 changed files with 707 additions and 388 deletions.
Loading

0 comments on commit 78cc709

Please sign in to comment.