diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ba17d004846..672c20547338 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,10 @@ Ref: https://keepachangelog.com/en/1.0.0/ # Changelog +## Unreleased + +* (baseapp) [#??](https://github.com/evmos/cosmos-sdk/pull/??) Add a getter function for the `StreamManager`. + ## [v0.50.8-evmos](https://github.com/evmos/cosmos-sdk/releases/tag/v0.50.8-evmos) - 2024-07-18 * (cache-store) [#52](https://github.com/evmos/cosmos-sdk/pull/52) Add a deep copy method for the store. diff --git a/baseapp/baseapp.go b/baseapp/baseapp.go index a89b48bcbafc..4caf767ad58e 100644 --- a/baseapp/baseapp.go +++ b/baseapp/baseapp.go @@ -413,6 +413,11 @@ func (app *BaseApp) Mempool() mempool.Mempool { return app.mempool } +// StreamingManager returns the StreamingManager of the app. +func (app *BaseApp) StreamingManager() storetypes.StreamingManager { + return app.streamingManager +} + // Init initializes the app. It seals the app, preventing any // further modifications. In addition, it validates the app against // the earlier provided settings. Returns an error if validation fails.