Skip to content

Commit 1193cbc

Browse files
authored
update citrea crate versions (#44)
* update citrea crate versions * post fix * update citrea version
1 parent 63e1db6 commit 1193cbc

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ tracing = { version = "0.1.40", default-features = false }
2323
tracing-subscriber = { version = "0.3.17", features = ["env-filter", "json", "fmt"] }
2424

2525
# Citrea dependencies
26-
sov-ledger-rpc = { git = "https://github.com/chainwayxyz/citrea", rev = "a043984", default-features = false, features = ["client"] }
27-
sov-rollup-interface = { git = "https://github.com/chainwayxyz/citrea", rev = "a043984" }
26+
sov-ledger-rpc = { git = "https://github.com/chainwayxyz/citrea", rev = "42693cc", default-features = false, features = ["client"] }
27+
sov-rollup-interface = { git = "https://github.com/chainwayxyz/citrea", rev = "42693cc"}
2828

2929
[patch.crates-io]
3030
bitcoincore-rpc = { version = "0.18.0", git = "https://github.com/chainwayxyz/rust-bitcoincore-rpc.git", rev = "ede8097" }

src/client.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use jsonrpsee::{
88
};
99
use sov_ledger_rpc::client::RpcClient;
1010
use sov_rollup_interface::rpc::{
11-
SequencerCommitmentResponse, SoftConfirmationResponse, VerifiedProofResponse,
11+
SequencerCommitmentResponse, SoftConfirmationResponse, VerifiedBatchProofResponse,
1212
};
1313
use tokio::time::sleep;
1414
use tracing::trace;
@@ -56,7 +56,7 @@ impl Client {
5656
pub async fn ledger_get_verified_batch_proofs_by_slot_height(
5757
&self,
5858
height: u64,
59-
) -> Result<Option<Vec<VerifiedProofResponse>>> {
59+
) -> Result<Option<Vec<VerifiedBatchProofResponse>>> {
6060
Ok(self
6161
.client
6262
.get_verified_batch_proofs_by_slot_height(height)

src/full_node.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use anyhow::bail;
2-
use sov_rollup_interface::rpc::{SequencerCommitmentResponse, VerifiedProofResponse};
2+
use sov_rollup_interface::rpc::{SequencerCommitmentResponse, VerifiedBatchProofResponse};
33
use tokio::time::{sleep, Duration, Instant};
44

55
use super::{config::FullFullNodeConfig, Result};
@@ -37,7 +37,7 @@ impl FullNode {
3737
&self,
3838
height: u64,
3939
timeout: Option<Duration>,
40-
) -> Result<Vec<VerifiedProofResponse>> {
40+
) -> Result<Vec<VerifiedBatchProofResponse>> {
4141
let start = Instant::now();
4242
let timeout = timeout.unwrap_or(Duration::from_secs(30));
4343

0 commit comments

Comments
 (0)