diff --git a/Cargo.toml b/Cargo.toml index 6c1928c..b09b5a7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,8 +25,8 @@ tracing-subscriber = { version = "0.3.17", features = ["env-filter", "json", "fm reth-primitives = { git = "https://github.com/paradigmxyz/reth", rev = "a206eb3690e5a51d3c797fed2a6ed722e36863eb", default-features = false } # Citrea dependencies -sov-ledger-rpc = { git = "https://github.com/chainwayxyz/citrea", rev = "879a075590250cd26e721f31c4cedf3b28832cb0", default-features = false, features = ["client"] } -sov-rollup-interface = { git = "https://github.com/chainwayxyz/citrea", rev = "879a075590250cd26e721f31c4cedf3b28832cb0" } +sov-ledger-rpc = { git = "https://github.com/chainwayxyz/citrea", rev = "6dbcc54de4df455b23675dd1ee51e05835d877b9", default-features = false, features = ["client"] } +sov-rollup-interface = { git = "https://github.com/chainwayxyz/citrea", rev = "6dbcc54de4df455b23675dd1ee51e05835d877b9" } [patch.crates-io] bitcoincore-rpc = { version = "0.18.0", git = "https://github.com/chainwayxyz/rust-bitcoincore-rpc.git", rev = "ede8097" } diff --git a/src/client.rs b/src/client.rs index 217e545..69d2ec4 100644 --- a/src/client.rs +++ b/src/client.rs @@ -7,8 +7,8 @@ use jsonrpsee::{ rpc_params, }; use reth_primitives::U64; -use sov_ledger_rpc::client::RpcClient; use sov_ledger_rpc::HexHash; +use sov_ledger_rpc::LedgerRpcClient; use sov_rollup_interface::rpc::{ SequencerCommitmentResponse, SoftConfirmationResponse, VerifiedProofResponse, }; @@ -44,7 +44,7 @@ impl Client { pub async fn ledger_get_last_scanned_l1_height(&self) -> Result { Ok(self .client - .request("ledger_getLastScannedL1Hieght", rpc_params![]) + .request("ledger_getLastScannedL1Height", rpc_params![]) .await?) }