0xPolygonMiden / miden-client

Client library that facilitates interaction with the Miden rollup
MIT License
39 stars 30 forks source link

fix: CLI doesn't allow to consume unauthenticated notes #603

Open tomyrd opened 5 days ago

tomyrd commented 5 days ago

The standard TransactionRequest::consume_notes (used in the CLI to consume notes) always tries to consume the notes as authenticated. We should check if the notes that want to be consumed are unauthenticated and use the corresponding TransactionRequest::with_unauthenticated_input_notes function.