From 87605dec909f9e6d91ddfb1f2153c5a90e1aed4d Mon Sep 17 00:00:00 2001 From: yaziciahmet Date: Sat, 21 Dec 2024 22:58:57 +0100 Subject: [PATCH] Rename var --- crates/bitcoin-da/src/verifier.rs | 2 +- crates/sovereign-sdk/adapters/mock-da/src/verifier.rs | 2 +- crates/sovereign-sdk/rollup-interface/src/state_machine/da.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/bitcoin-da/src/verifier.rs b/crates/bitcoin-da/src/verifier.rs index d779fd709..a61739b86 100644 --- a/crates/bitcoin-da/src/verifier.rs +++ b/crates/bitcoin-da/src/verifier.rs @@ -224,7 +224,7 @@ impl DaVerifier for BitcoinVerifier { &self, previous_light_client_proof_output: &Option>, block_header: &::BlockHeader, - _difficulty_constants: DaNetworkConstants, + da_constants: DaNetworkConstants, ) -> Result, Self::Error> { // Check 1: Verify block hash if !block_header.verify_hash() { diff --git a/crates/sovereign-sdk/adapters/mock-da/src/verifier.rs b/crates/sovereign-sdk/adapters/mock-da/src/verifier.rs index d14984f02..44ec0b7d0 100644 --- a/crates/sovereign-sdk/adapters/mock-da/src/verifier.rs +++ b/crates/sovereign-sdk/adapters/mock-da/src/verifier.rs @@ -75,7 +75,7 @@ impl DaVerifier for MockDaVerifier { sov_rollup_interface::zk::LightClientCircuitOutput, >, block_header: &::BlockHeader, - _difficulty_constants: DaNetworkConstants<()>, + _da_constants: DaNetworkConstants<()>, ) -> Result, Self::Error> { let Some(previous_light_client_proof_output) = previous_light_client_proof_output else { return Ok(UpdatedDaState { diff --git a/crates/sovereign-sdk/rollup-interface/src/state_machine/da.rs b/crates/sovereign-sdk/rollup-interface/src/state_machine/da.rs index cf80699ef..9c63db0d2 100644 --- a/crates/sovereign-sdk/rollup-interface/src/state_machine/da.rs +++ b/crates/sovereign-sdk/rollup-interface/src/state_machine/da.rs @@ -195,7 +195,7 @@ pub trait DaVerifier: Send + Sync { &self, previous_light_client_proof_output: &Option>, block_header: &::BlockHeader, - difficulty_constants: DaNetworkConstants<::Network>, + da_constants: DaNetworkConstants<::Network>, ) -> Result, Self::Error>; }