0xPolygonMiden / miden-client

Client library that facilitates interaction with the Miden rollup
MIT License
32 stars 27 forks source link

Factor out `NoteScript` data in both input and output notes #214

Closed igamigo closed 5 months ago

igamigo commented 6 months ago

Currently, both the input and output notes table contain a NoteScript object, which in turn is formed by its root hash and the ProgramAst (note: in #206 the NoteScript is being separated into 2 SQL columns, one for the root and one for the AST). We should factor these script fields out into their own note_script table in the SqliteStore implementation to avoid repetition.