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
As of now the sql queries done on the store database for get_state_sync requires us to make another query with is select_notes_since_block_by_tag_and_sender to get notes.
We want to remove details from this query to be able to not have to make a high amount of work. If needed the user will make a subsequent query to get_notes_by_id to query on-chain note details.
The user should already be able to do that. This issue is of an optimization issue for how things are handled internally (currently, we do more work than needed in some situations).
To whom is this feature for?
End user
Why is is this feature needed?
To reduce the amount of computation made by
get_state_sync
miden-node/store/src/db/sql.rs
Line 629 in 3c8ba12
How is this feature used?
As of now the sql queries done on the
store
database forget_state_sync
requires us to make another query with isselect_notes_since_block_by_tag_and_sender
to get notes.We want to remove details from this query to be able to not have to make a high amount of work. If needed the user will make a subsequent query to
get_notes_by_id
to query on-chain note details.Anything else?
#300 (comment)
The text was updated successfully, but these errors were encountered: