Skip to content

Commit

Permalink
diagrams for other options
Browse files Browse the repository at this point in the history
  • Loading branch information
rootulp committed Nov 15, 2024
1 parent 5fa0d2b commit aa5669b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/architecture/adr-023-multiplexed-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,28 @@ TBD

As a prerequisite to this work, Go modules must be extracted for all state machine modules. This is necessary so that the types defined by one module do not conflict with the types defined by the same module imported via a different state machine version.

How the protobuf registry will work in this setup or any other globally defined variables?

TBD

How ABCI might change (i.e. when we use a later version of the SDK we might have VoteExtensions and FinalizeBlock)?

TBD

## Alternative Approaches

### Option 1: Conditional statements

Continue adding conditional statements to the codebase to implement version-specific logic. Note: this approach may no longer be viable when two different state machine versions need to use different versions of the same dependency. For example, celestia-app v3.x uses `github.com/cosmos/ibc-go/v6 v6.2.2` but it isn't possible to update that dependency for future celestia-app versions without having the bump also impact the v3.x state machine.

### Option 2: Run old state machines out of process

![out-of-process-old-state-machines](./assets/adr023/out-of-process-old-state-machines.png)

### Option 3: Run CometBFT out of process

![out-of-process-cometbft](./assets/adr023/out-of-process-cometbft.png)

## Consequences

### Positive
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit aa5669b

Please sign in to comment.