Skip to content

Commit

Permalink
deps: point to miden-node's next branch and fix compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mFragaBA committed Jun 11, 2024
1 parent 18fea55 commit cd11167
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ comfy-table = "7.1.0"
figment = { version = "0.10", features = ["toml", "env"] }
lazy_static = "1.4.0"
miden-lib = { package = "miden-lib", git = "https://github.com/0xPolygonMiden/miden-base.git", branch = "next", default-features = false }
miden-node-proto = { package = "miden-node-proto", git = "https://github.com/0xPolygonMiden/miden-node.git", branch = "polydez-tx-ids-in-sync", default-features = false }
miden-node-proto = { package = "miden-node-proto", git = "https://github.com/0xPolygonMiden/miden-node.git", branch = "next", default-features = false }
miden-tx = { package = "miden-tx", git = "https://github.com/0xPolygonMiden/miden-base.git", branch = "next", default-features = false }
miden-objects = { package = "miden-objects", git = "https://github.com/0xPolygonMiden/miden-base.git", branch = "next", default-features = false, features = ["serde"] }
rand = { version = "0.8.5" }
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ clean-node: ## Clean node directory
.PHONY: node
node: ## Setup node
if [ -d miden-node ]; then cd miden-node ; else git clone https://github.com/0xPolygonMiden/miden-node.git && cd miden-node; fi
cd miden-node && git checkout polydez-tx-ids-in-sync && git pull origin polydez-tx-ids-in-sync && cargo update
cd miden-node && git checkout next && git pull origin next && cargo update
cd miden-node && rm -rf miden-store.sqlite3*
cd miden-node && cargo run --bin miden-node --features $(NODE_FEATURES_TESTING) -- make-genesis --inputs-path ../tests/config/genesis.toml --force

Expand Down
4 changes: 2 additions & 2 deletions src/client/transactions/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use miden_objects::{
crypto::rand::RpoRandomCoin,
notes::{Note, NoteDetails, NoteId, NoteType},
transaction::{
ExecutedTransaction, InputNotes, OutputNote, OutputNotes, ProvenTransaction,
ExecutedTransaction, InputNote, InputNotes, OutputNote, OutputNotes, ProvenTransaction,
TransactionArgs, TransactionId, TransactionScript,
},
Digest, Felt, Word,
Expand Down Expand Up @@ -92,7 +92,7 @@ impl TransactionResult {
self.transaction.account_delta()
}

pub fn consumed_notes(&self) -> &InputNotes {
pub fn consumed_notes(&self) -> &InputNotes<InputNote> {
self.transaction.tx_inputs().input_notes()
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/store/sqlite_store/transactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use miden_objects::{
accounts::AccountId,
assembly::{AstSerdeOptions, ProgramAst},
crypto::utils::{Deserializable, Serializable},
transaction::{OutputNotes, ToNullifier, TransactionId, TransactionScript},
transaction::{OutputNotes, ToInputNoteCommitments, TransactionId, TransactionScript},
Digest, Felt,
};
use rusqlite::{params, Transaction};
Expand Down

0 comments on commit cd11167

Please sign in to comment.