Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
350 changes: 289 additions & 61 deletions Cargo.lock

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ miden-node-tracing-macro = { path = "crates/tracing-macro", version = "0.16.0
miden-node-utils = { path = "crates/utils", version = "0.16.0-alpha.3" }

# miden-protocol dependencies. These should be updated in sync.
miden-block-prover = { version = "=0.16.0-alpha.2" }
miden-protocol = { default-features = false, version = "=0.16.0-alpha.2" }
miden-standards = { version = "=0.16.0-alpha.2" }
miden-testing = { version = "=0.16.0-alpha.2" }
miden-tx = { default-features = false, version = "=0.16.0-alpha.2" }
miden-tx-batch = { version = "=0.16.0-alpha.2" }
miden-block-prover = { version = "0.16.0-rc.2" }
miden-protocol = { default-features = false, version = "0.16.0-rc.2" }
miden-standards = { version = "0.16.0-rc.2" }
miden-testing = { version = "0.16.0-rc.2" }
miden-tx = { default-features = false, version = "0.16.0-rc.2" }
miden-tx-batch = { version = "0.16.0-rc.2" }

# Other miden dependencies. These should align with those expected by miden-protocol.
miden-crypto = { version = "0.28" }
Expand Down
7 changes: 4 additions & 3 deletions bin/benchmark/src/create_proofs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,8 @@ pub(crate) async fn run(rpc_url: Url, num_transactions: u64, remote_prover_url:
let script = SendNotesTransactionScript::new(&code_interface, &partial_notes)
.expect("failed to build mint send-notes script");

let mut tx_args = TransactionArgs::default().with_tx_script(script.into());
let mut tx_args = TransactionArgs::default()
.with_tx_script_and_args(script.tx_script().clone(), script.tx_script_args());
for note in &notes {
tx_args.add_output_note_recipient(Box::new(note.recipient().clone()));
}
Expand Down Expand Up @@ -429,7 +430,7 @@ fn create_faucet() -> (Account, SecretKey) {
.active_burn_policy(BurnPolicy::allow_all())
.build(),
)
.with_auth_component(AuthSingleSig::new(Approver::new(
.with_component(AuthSingleSig::new(Approver::new(
key_pair.public_key().into(),
AuthScheme::Falcon512Poseidon2,
)))
Expand All @@ -447,7 +448,7 @@ fn create_wallet(
let init_seed: Vec<_> = index.to_be_bytes().into_iter().chain([0u8; 24]).collect();
AccountBuilder::new(init_seed.try_into().unwrap())
.account_type(AccountType::Private)
.with_auth_component(AuthSingleSig::new(Approver::new(
.with_component(AuthSingleSig::new(Approver::new(
public_key.clone().into(),
AuthScheme::Falcon512Poseidon2,
)))
Expand Down
4 changes: 4 additions & 0 deletions bin/network-monitor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,7 @@ tonic = { features = ["codegen", "tls-native-roots", "transport"],
tonic-health = { workspace = true }
tracing = { workspace = true }
url = { features = ["serde"], workspace = true }

[dev-dependencies]
miden-protocol = { features = ["std", "testing"], workspace = true }
miden-testing = { workspace = true }
Loading
Loading