Skip to content

Commit 07914ec

Browse files
committed
rename rpc methods
1 parent c605312 commit 07914ec

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
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 = "82bf52d", default-features = false, features = ["client"] }
27-
sov-rollup-interface = { git = "https://github.com/chainwayxyz/citrea", rev = "82bf52d" }
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" }
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
@@ -53,13 +53,13 @@ impl Client {
5353
Ok(self.client.get_head_soft_confirmation().await?)
5454
}
5555

56-
pub async fn ledger_get_verified_proofs_by_slot_height(
56+
pub async fn ledger_get_verified_batch_proofs_by_slot_height(
5757
&self,
5858
height: u64,
5959
) -> Result<Option<Vec<VerifiedProofResponse>>> {
6060
Ok(self
6161
.client
62-
.get_verified_proofs_by_slot_height(height)
62+
.get_verified_batch_proofs_by_slot_height(height)
6363
.await?)
6464
}
6565

src/full_node.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ impl FullNode {
4848

4949
match self
5050
.client
51-
.ledger_get_verified_proofs_by_slot_height(height)
51+
.ledger_get_verified_batch_proofs_by_slot_height(height)
5252
.await?
5353
{
5454
Some(proofs) => return Ok(proofs),

0 commit comments

Comments
 (0)