0xMiden / 0xMiden/rust-sdk

refactor: revisit note import process

Ouverte
#876 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Rust
Étoiles
78
Forks
129
Merge moyen
4 j 14 h
PR mergées (30 j)
52

Description

- Should we simplify the import process and move some of the logic to the `SyncState` component? I belive this would reduce the number of edge cases when dealing with note state transitions by centralizing the logic in one place. Context: https://github.com/0xPolygonMiden/miden-client/pull/828#issuecomment-2828769510

- In a similar vein, how should we deal with `Unverified` notes in the import process? Currently, when we import an unverified note we add its tag to the client so that it is verified in the sync process. This simplifies the import process (in line with the first point) but may overload the sync requests a bit which may be a problem for the node. Context: https://github.com/0xPolygonMiden/miden-client/pull/828#issuecomment-2791063565

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.