Closed technicallyty closed 4 days ago
The recent changes to the warden
application involve a structural reorganization, focusing on removing functionalities related to alerts and incentives and simplifying the import statements. Additionally, a new oraclePreBlocker
field has been added to the App
struct, streamlining the initialization of ABCI extensions.
File | Change Summary |
---|---|
warden/app/app.go | Removed alerts and incentives imports, added oraclePreBlocker to App struct, and updated dependencies in AppConfig . |
warden/app/app_config.go | Removed ProvideIncentives function, along with related imports and types from the incentives and alerts modules. |
warden/app/oracle.go | Added import for cometbft/abci/types , introduced wrappedPreBlocker function, and modified initializeABCIExtensions to set oraclePreBlocker . |
sequenceDiagram
participant User
participant App
participant ABCI
User ->> App: start application
App ->> ABCI: call initializeABCIExtensions
App ->> ABCI: set oraclePreBlocker
App ->> App: set PreBlocker with wrappedPreBlocker
Note right of App: Alerts and Incentives removed
[!TIP]
Early access features: enabled
We are currently testing the following features in early access: - **OpenAI `gpt-4o` model for code reviews and chat**: OpenAI claims that this model is better at understanding and generating code than the previous models. We seek your feedback over the next few weeks before making it generally available. Note: - You can enable or disable early access features from the CodeRabbit UI or by updating the CodeRabbit configuration file. - Please join our [Discord Community](https://discord.com/invite/GsXnASn26c) to provide feedback and report issues. - OSS projects are currently opted into early access features by default.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
im also going to remove the slinky alerts and incentives modules. these are unfinished and will do nothing at the moment.
adds a wrapped PreBlocker that calls both the application PreBlock and the Oracle's preblocker.
this fixes an issue where x/upgrade's preblocker wasn't running, causing scheduled upgrades to not trigger.
Summary by CodeRabbit
New Features
Refactor