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
this was caused by the bug introduced during solana upgrade, when
commitment level for updates was changed to Finalized, but filter in
plugin wasn't updated to match that
<!-- greptile_comment -->
## Greptile Summary
This PR fixes a critical memory leak in the gRPC plugin by correcting
the commitment level check for slot messages.
- Updates commitment level check from `Processed` to `Finalized` in
`magicblock-geyser-plugin/src/grpc.rs` to match current slot behavior
- Fixes memory leak caused by accumulating unprocessed slot data due to
incorrect commitment level filtering
- Improves memory management by enabling proper cleanup of old slot data
- Changes empty match arm from `_ => {}` to `_ => ()` for code
consistency
<!-- /greptile_comment -->
Co-authored-by: Gabriele Picco <piccogabriele@gmail.com>
0 commit comments