Skip to content

Commit

Permalink
Merge branch 'main' into yaziciahmet/short-prefix-rename
Browse files Browse the repository at this point in the history
  • Loading branch information
yaziciahmet authored Nov 5, 2024
2 parents b2881db + a290db6 commit 011d1b6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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 = "82bf52d", default-features = false, features = ["client"] }
sov-rollup-interface = { git = "https://github.com/chainwayxyz/citrea", rev = "82bf52d" }
sov-ledger-rpc = { git = "https://github.com/chainwayxyz/citrea", rev = "a043984", default-features = false, features = ["client"] }
sov-rollup-interface = { git = "https://github.com/chainwayxyz/citrea", rev = "a043984" }

[patch.crates-io]
bitcoincore-rpc = { version = "0.18.0", git = "https://github.com/chainwayxyz/rust-bitcoincore-rpc.git", rev = "ede8097" }
4 changes: 2 additions & 2 deletions src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ impl Client {
Ok(self.client.get_head_soft_confirmation().await?)
}

pub async fn ledger_get_verified_proofs_by_slot_height(
pub async fn ledger_get_verified_batch_proofs_by_slot_height(
&self,
height: u64,
) -> Result<Option<Vec<VerifiedProofResponse>>> {
Ok(self
.client
.get_verified_proofs_by_slot_height(height)
.get_verified_batch_proofs_by_slot_height(height)
.await?)
}

Expand Down
2 changes: 1 addition & 1 deletion src/full_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ impl FullNode {

match self
.client
.ledger_get_verified_proofs_by_slot_height(height)
.ledger_get_verified_batch_proofs_by_slot_height(height)
.await?
{
Some(proofs) => return Ok(proofs),
Expand Down

0 comments on commit 011d1b6

Please sign in to comment.