diff --git a/core/src/lib.rs b/core/src/lib.rs index a400b3efa..ea4e7fb1c 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -48,7 +48,7 @@ impl Raiko { fn get_preflight_data(&self) -> PreflightData { PreflightData::new( self.request.block_number, - self.request.l1_inclusive_block_number, + self.request.l1_inclusion_block_number, self.l1_chain_spec.to_owned(), self.taiko_chain_spec.to_owned(), TaikoProverData { @@ -325,7 +325,7 @@ mod tests { let proof_request = ProofRequest { block_number, - l1_inclusive_block_number: 80, + l1_inclusion_block_number: 80, network, graffiti: B256::ZERO, prover: Address::ZERO, @@ -354,7 +354,7 @@ mod tests { let proof_request = ProofRequest { block_number, - l1_inclusive_block_number: 0, + l1_inclusion_block_number: 0, network, graffiti: B256::ZERO, prover: Address::ZERO, @@ -392,7 +392,7 @@ mod tests { ); let proof_request = ProofRequest { block_number, - l1_inclusive_block_number: 0, + l1_inclusion_block_number: 0, network, graffiti: B256::ZERO, prover: Address::ZERO, @@ -425,7 +425,7 @@ mod tests { ); let proof_request = ProofRequest { block_number, - l1_inclusive_block_number: 0, + l1_inclusion_block_number: 0, network, graffiti: B256::ZERO, prover: Address::ZERO, diff --git a/host/src/cache.rs b/host/src/cache.rs index 15e7d5f23..c4cd99815 100644 --- a/host/src/cache.rs +++ b/host/src/cache.rs @@ -113,7 +113,7 @@ mod test { proof_type: ProofType::Native, blob_proof_type: BlobProofType::KzgVersionedHash, prover_args: Default::default(), - l1_inclusive_block_number: 0, + l1_inclusion_block_number: 0, }; let raiko = Raiko::new( l1_chain_spec.clone(), diff --git a/host/tests/common/mod.rs b/host/tests/common/mod.rs index 0e9d22b39..0528a056b 100644 --- a/host/tests/common/mod.rs +++ b/host/tests/common/mod.rs @@ -116,7 +116,7 @@ pub async fn make_request() -> anyhow::Result { Ok(ProofRequestOpt { block_number: Some(block_number), - l1_inclusive_block_number: None, + l1_inclusion_block_number: None, network: Some("taiko_mainnet".to_owned()), l1_network: Some("ethereum".to_string()), graffiti: Some( diff --git a/tasks/tests/main.rs b/tasks/tests/main.rs index 49693cb0c..5dfee896f 100644 --- a/tasks/tests/main.rs +++ b/tasks/tests/main.rs @@ -43,7 +43,7 @@ mod tests { proof_type, prover_args, blob_proof_type: BlobProofType::ProofOfEquivalence, - l1_inclusive_block_number: 0, + l1_inclusion_block_number: 0, }, ) }