Skip to content

Commit

Permalink
updating versions and fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
briancorbin committed Nov 9, 2022
1 parent cb017e7 commit 581200f
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 15 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion full-service/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mc-full-service"
version = "1.9.5"
version = "1.9.6"
authors = ["MobileCoin"]
edition = "2018"
build = "build.rs"
Expand Down
3 changes: 2 additions & 1 deletion full-service/src/db/migration_testing/seed_txos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ pub fn test_txos(
// Check that a transaction log entry was created for each received TxOut (note:
// we are not creating submit logs in this test)
let transaction_logs =
TransactionLog::list_all(&account_id.to_string(), None, None, None, None, &conn).unwrap();
TransactionLog::list_all(&account_id.to_string(), None, None, None, None, None, &conn)
.unwrap();
assert_eq!(transaction_logs.len(), 3);
}
1 change: 1 addition & 0 deletions full-service/src/db/txo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1403,6 +1403,7 @@ mod tests {
None,
None,
None,
None,
&wallet_db.get_conn().unwrap(),
)
.unwrap();
Expand Down
9 changes: 8 additions & 1 deletion full-service/src/service/receipt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,14 @@ mod tests {
// Get the corresponding TransactionLog for Alice's Account - only the sender
// has the confirmation number.
let transaction_logs = service
.list_transaction_logs(&AccountID(alice.account_id_hex), None, None, None, None)
.list_transaction_logs(
&AccountID(alice.account_id_hex),
None,
None,
None,
None,
None,
)
.expect("Could not get transaction logs");
// Alice should have two received (initial and change), and one sent
// TransactionLog.
Expand Down
10 changes: 5 additions & 5 deletions full-service/src/service/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ mod tests {
let alice_public_address = alice_account_key.subaddress(alice.main_subaddress_index as u64);

let tx_logs = service
.list_transaction_logs(&alice_account_id, None, None, None, None)
.list_transaction_logs(&alice_account_id, None, None, None, None, None)
.unwrap();

assert_eq!(0, tx_logs.len());
Expand All @@ -519,7 +519,7 @@ mod tests {
manually_sync_account(&ledger_db, &service.wallet_db, &alice_account_id, &logger);

let tx_logs = service
.list_transaction_logs(&alice_account_id, None, None, None, None)
.list_transaction_logs(&alice_account_id, None, None, None, None, None)
.unwrap();

assert_eq!(1, tx_logs.len());
Expand Down Expand Up @@ -565,7 +565,7 @@ mod tests {
log::info!(logger, "Built transaction from Alice");

let tx_logs = service
.list_transaction_logs(&alice_account_id, None, None, None, None)
.list_transaction_logs(&alice_account_id, None, None, None, None, None)
.unwrap();

assert_eq!(1, tx_logs.len());
Expand All @@ -592,7 +592,7 @@ mod tests {
log::info!(logger, "Built transaction from Alice");

let tx_logs = service
.list_transaction_logs(&alice_account_id, None, None, None, None)
.list_transaction_logs(&alice_account_id, None, None, None, None, None)
.unwrap();

assert_eq!(1, tx_logs.len());
Expand All @@ -619,7 +619,7 @@ mod tests {
log::info!(logger, "Built transaction from Alice");

let tx_logs = service
.list_transaction_logs(&alice_account_id, None, None, None, None)
.list_transaction_logs(&alice_account_id, None, None, None, None, None)
.unwrap();

assert_eq!(2, tx_logs.len());
Expand Down
2 changes: 1 addition & 1 deletion validator/api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mc-validator-api"
version = "1.9.5"
version = "1.9.6"
authors = ["MobileCoin"]
build = "build.rs"
edition = "2018"
Expand Down
2 changes: 1 addition & 1 deletion validator/connection/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mc-validator-connection"
version = "1.9.5"
version = "1.9.6"
authors = ["MobileCoin"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion validator/service/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mc-validator-service"
version = "1.9.5"
version = "1.9.6"
authors = ["MobileCoin"]
edition = "2018"
license = "GPL-3.0"
Expand Down

0 comments on commit 581200f

Please sign in to comment.