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
When listening to program account changes sometimes due to network conditions you might get an update x + 1 before you get update x. Now if both updates happens in different slot thats fine you can deduce the order from the slot number. But if the changes are in the same slot you cant tell which happened first. Im not an expert at this repo but I looked a bit and saw that the notifications that are sent on account change does have a variable called write_version specifically for that purpose (check bellow image) However unfortunately this variable is not sent with the notification on the rpc subscription.
~line 106 in geyser-plugin-interface/src/geyser_plugin_interface.rs:
Problem
When listening to program account changes sometimes due to network conditions you might get an update x + 1 before you get update x. Now if both updates happens in different slot thats fine you can deduce the order from the slot number. But if the changes are in the same slot you cant tell which happened first. Im not an expert at this repo but I looked a bit and saw that the notifications that are sent on account change does have a variable called write_version specifically for that purpose (check bellow image) However unfortunately this variable is not sent with the notification on the rpc subscription.
~line 106 in
geyser-plugin-interface/src/geyser_plugin_interface.rs
:what I get from the RPC call:
NOTE: no write_version
Proposed Solution
Send write_version with the notification
The text was updated successfully, but these errors were encountered: