Skip to content

Conversation

@hubcycle
Copy link
Collaborator

@hubcycle hubcycle commented Nov 24, 2025

  • drop the usage of miden-multisig-coordinator-utils
  • use Signature::to_prepared_signature to obtain Vec<Felt> to be passed as tx args
  • make miden-multisig-client crate no_std
  • use Account::to_bech32 and Account::from_bech32 to encode/decode account ids instead of Address.
  • drop the dependency miden-objects from all crates.
  • fix unit and integration tests to be compatible with the testnet using miden-client v0.12

Closes #18.

- drop the usage of miden-multisig-coordinator-utils
- use `Signature::to_prepared_signature` to obtain `Vec<Felt>` to be passed as tx args
- make miden-multisig-client crate no_std
- fix unit and integration tests to be compatible with the testnet using miden-client v0.12
@hubcycle hubcycle requested a review from rotorship November 24, 2025 06:29
@hubcycle hubcycle self-assigned this Nov 24, 2025
@hubcycle hubcycle linked an issue Nov 24, 2025 that may be closed by this pull request
let signatures = signatures
.into_iter()
.map(|s| s.map(miden_multisig_coordinator_utils::rpo_falcon512_signature_into_felt_vec))
.map(|s| s.map(|s| Signature::RpoFalcon512(s).to_prepared_signature(Word::empty())))
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I passed Word::empty() as the argument to satisfy the method invoking requirements although it should not be necessary for rpo falcon512 signature (see link).

// Block 4: Create second note
mock_chain.add_pending_note(OutputNote::Full(note_second.clone()));
// Block 4
mock_chain.prove_next_block().unwrap();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it necessary to prove so many blocks for the test to succeed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the suggestion, I removed the extra block proving calls and the multisig test does not fail, so I guess they were indeed redundant.

cc: @mmagician

@rotorship rotorship changed the base branch from main to staging November 28, 2025 20:03
…in coordinator-frontend (#20)

* Restore coordinator-frontend changes: remove createFaucet, update AccountInterface to BasicWallet, use NoteFile.deserialize()

* fix: fix cargo chef error in Dockerfile of coordinator backend

* add network param to wallet adapter components

* fix: fix decoding account address and bump miden wallet adapter dependency to v0.10.0

* fix: fix wallet not connected error and invalid signature error

* chore: remove miden-wallet-adapter-react dependencies

---------

Co-authored-by: Pradyumna-Bhardwaj <[email protected]>
@rotorship rotorship changed the base branch from staging to main November 28, 2025 20:17
@rotorship rotorship marked this pull request as ready for review November 28, 2025 20:17
@rotorship rotorship requested a review from mmagician November 28, 2025 20:18
@hubcycle hubcycle force-pushed the 18-upgrade-miden-client-dependency-to-v012 branch from 5d5f0b8 to d5913a6 Compare December 2, 2025 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade miden-client dependency to v0.12

3 participants