streamingfast / substreams-rs

7 stars 3 forks source link

Add `has_last` for `StoreGet` #8

Closed Eduard-Voiculescu closed 1 year ago

Eduard-Voiculescu commented 1 year ago

For dynamicDataSources, we often don't even need to decode the data from a store.

Add has_last method on interface StoreGet which simply checks if it's part of the store or not. No decoding to be done.

maoueh commented 1 year ago

Closing in favor of #13, I forgot we had that.