You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: properly init geyser plugin for rpc and use valid dummy Library (#402)
<!-- greptile_comment -->
## Greptile Summary
Implements a workaround for geyser plugin initialization by creating a
dummy Library handle, as the plugin is not loaded from a .so file. While
functional, this approach requires careful consideration.
- Unsafe code and memory leaks introduced in
`magicblock-api/src/init_geyser_service.rs` through `Box::leak` and
`transmute` for dummy Library creation
- Added proper `LoadedGeyserPlugin` initialization and registration with
plugin manager
- Current implementation may need future refinement to address memory
management concerns
<!-- /greptile_comment -->
0 commit comments