From 487ae2acd0f8362368825074378ef099a969b692 Mon Sep 17 00:00:00 2001 From: Willem Wyndham Date: Mon, 7 Oct 2024 22:16:08 -0400 Subject: [PATCH] fix: update rpc dep --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- cmd/soroban-cli/src/config/data.rs | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 53c13398d..734dba19b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5725,7 +5725,7 @@ dependencies = [ [[package]] name = "stellar-rpc-client" version = "22.0.0-rc.1" -source = "git+https://github.com/stellar/rs-stellar-rpc-client?rev=932b52c4df92c0a1237420d86ff7bdf51f9ac21a#932b52c4df92c0a1237420d86ff7bdf51f9ac21a" +source = "git+https://github.com/stellar/rs-stellar-rpc-client?rev=76b6bc942a1ca7c5e0cbfa5fe4e7c541a2a72cf3#76b6bc942a1ca7c5e0cbfa5fe4e7c541a2a72cf3" dependencies = [ "clap", "hex", @@ -5738,7 +5738,7 @@ dependencies = [ "serde_json", "serde_with", "sha2 0.10.8", - "stellar-strkey 0.0.8", + "stellar-strkey 0.0.9", "stellar-xdr", "termcolor", "termcolor_output", diff --git a/Cargo.toml b/Cargo.toml index cb9479f5f..145c34e5b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -55,7 +55,7 @@ path = "cmd/soroban-cli" package = "stellar-rpc-client" version = "22.0.0-rc.1" git = "https://github.com/stellar/rs-stellar-rpc-client" -rev = "932b52c4df92c0a1237420d86ff7bdf51f9ac21a" +rev = "76b6bc942a1ca7c5e0cbfa5fe4e7c541a2a72cf3" [workspace.dependencies.stellar-xdr] version = "=22.0.0-rc.1.1" diff --git a/cmd/soroban-cli/src/config/data.rs b/cmd/soroban-cli/src/config/data.rs index 7a5848163..0d2bd52df 100644 --- a/cmd/soroban-cli/src/config/data.rs +++ b/cmd/soroban-cli/src/config/data.rs @@ -189,11 +189,13 @@ impl TryFrom for Action { diff: if let Some(soroban_rpc::TransactionInfoDiff::Protocol22 { transaction_hash, fee_bump, + ledger_close_time, }) = res.transaction_info.diff { Some(soroban_rpc::TransactionInfoDiffRaw::Protocol22 { transaction_hash: transaction_hash.as_ref().map(ToString::to_string), fee_bump, + ledger_close_time, }) } else { None @@ -205,7 +207,6 @@ impl TryFrom for Action { .map(to_xdr) .collect::, _>>()?, ledger: res.transaction_info.ledger, - ledger_close_time: res.transaction_info.ledger_close_time, }, latest_ledger_close_time: res.latest_ledger_close_time, oldest_ledger: res.oldest_ledger,