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
215e045: Add a common data type to return it from all interpreters. Additionally added a couple of more examples of interpretators and a fallback interpretator.
d169992: Refactor stores to call set when the data is not found in strategies. This introduces new types for store values, to
be able to differentiate between a missing value, and one that was never requested.
Success - The data is found successfully in the store
NotFound - The data is found in the store, but is missing the value
MetaEmpty - The contract metadata is not found in the store
This change requires the users of the library to persist the NotFound state. Having the NotFound state allows us
to skip the strategy lookup, which is one of the most expensive operations when decoding transactions.
We suggest to keep a timestamp for the NotFound state, and invalidate it after a certain period of time. This will
ensure that the strategy lookup is not skipped indefinitely. Separately, users can upload their own data to the store.