Skip to content

Commit

Permalink
Update adr-010-modular-antehandler.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaobei0715 authored Oct 5, 2024
1 parent ba9e68d commit c69b12a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/architecture/adr-010-modular-antehandler.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Pros:
Cons:

1. Improves granularity but still cannot get more granular than a per-module basis. e.g. If auth's `AnteHandle` function is in charge of validating memo and signatures, users cannot swap the signature-checking functionality while keeping the rest of auth's `AnteHandle` functionality.
2. Module AnteHandler is run one after the other. There is no way for one AnteHandler to wrap or "decorate" another.
2. Module AnteHandlers are run one after the other. There is no way for one AnteHandler to wrap or "decorate" another.

### Decorator Pattern

Expand Down

0 comments on commit c69b12a

Please sign in to comment.