Skip to content

Commit

Permalink
update citrea version
Browse files Browse the repository at this point in the history
  • Loading branch information
eyusufatik committed Nov 5, 2024
1 parent 3945eaf commit faf3414
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ tracing = { version = "0.1.40", default-features = false }
tracing-subscriber = { version = "0.3.17", features = ["env-filter", "json", "fmt"] }

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

[patch.crates-io]
bitcoincore-rpc = { version = "0.18.0", git = "https://github.com/chainwayxyz/rust-bitcoincore-rpc.git", rev = "ede8097" }
6 changes: 3 additions & 3 deletions src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use jsonrpsee::{
};
use sov_ledger_rpc::client::RpcClient;
use sov_rollup_interface::rpc::{
SequencerCommitmentResponse, SoftConfirmationResponse, VerifiedProofResponse,
SequencerCommitmentResponse, SoftConfirmationResponse, VerifiedBatchProofResponse,
};
use tokio::time::sleep;
use tracing::trace;
Expand Down Expand Up @@ -56,10 +56,10 @@ impl Client {
pub async fn ledger_get_verified_batch_proofs_by_slot_height(
&self,
height: u64,
) -> Result<Option<Vec<VerifiedProofResponse>>> {
) -> Result<Option<Vec<VerifiedBatchProofResponse>>> {
Ok(self
.client
.get_verified_proofs_by_slot_height(height)
.get_verified_batch_proofs_by_slot_height(height)
.await?)
}

Expand Down
4 changes: 2 additions & 2 deletions src/full_node.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use anyhow::bail;
use sov_rollup_interface::rpc::{SequencerCommitmentResponse, VerifiedProofResponse};
use sov_rollup_interface::rpc::{SequencerCommitmentResponse, VerifiedBatchProofResponse};
use tokio::time::{sleep, Duration, Instant};

use super::{config::FullFullNodeConfig, Result};
Expand Down Expand Up @@ -37,7 +37,7 @@ impl FullNode {
&self,
height: u64,
timeout: Option<Duration>,
) -> Result<Vec<VerifiedProofResponse>> {
) -> Result<Vec<VerifiedBatchProofResponse>> {
let start = Instant::now();
let timeout = timeout.unwrap_or(Duration::from_secs(30));

Expand Down

0 comments on commit faf3414

Please sign in to comment.