1- use super :: { AssignedBlobDataExport , BlobDataConfig } ;
2- use crate :: { constants:: N_BYTES_U256 , BatchData , RlcConfig } ;
3- use eth_types:: { ToBigEndian , H256 , U256 } ;
4- use ethers_core:: k256:: sha2:: { Digest , Sha256 } ;
1+ use super :: { AssignedBlobDataExport } ;
2+ use crate :: { BatchData , RlcConfig } ;
3+ use eth_types:: { H256 , U256 } ;
54use halo2_base:: { gates:: range:: RangeConfig , AssignedValue , Context } ;
65use halo2_ecc:: bigint:: CRTInteger ;
76use halo2_proofs:: {
@@ -20,37 +19,37 @@ pub struct BlobConsistencyConfig<const N_SNARKS: usize> {}
2019
2120impl < const N_SNARKS : usize > BlobConsistencyConfig < N_SNARKS > {
2221 pub fn construct (
23- meta : & mut ConstraintSystem < Fr > ,
24- challenges : & Challenges < Expression < Fr > > ,
25- u8_table : U8Table ,
22+ _meta : & mut ConstraintSystem < Fr > ,
23+ _challenges : & Challenges < Expression < Fr > > ,
24+ _u8_table : U8Table ,
2625 _: RangeConfig < Fr > ,
2726 ) -> Self {
2827 unimplemented ! ( )
2928 }
3029
3130 pub fn assign_barycentric (
3231 & self ,
33- ctx : & mut Context < Fr > ,
34- bytes : & [ u8 ] ,
35- challenge : U256 ,
32+ _ctx : & mut Context < Fr > ,
33+ _bytes : & [ u8 ] ,
34+ _challenge : U256 ,
3635 ) -> AssignedBarycentricEvaluationConfig {
3736 unimplemented ! ( )
3837 }
3938
4039 pub fn assign_blob_data (
4140 & self ,
42- layouter : & mut impl Layouter < Fr > ,
43- challenge_value : Challenges < Value < Fr > > ,
44- rlc_config : & RlcConfig ,
45- blob_bytes : & [ u8 ] ,
41+ _layouter : & mut impl Layouter < Fr > ,
42+ _challenge_value : Challenges < Value < Fr > > ,
43+ _rlc_config : & RlcConfig ,
44+ _blob_bytes : & [ u8 ] ,
4645 ) -> Result < AssignedBlobDataExport , Error > {
4746 unimplemented ! ( )
4847 }
4948
5049 pub fn link (
51- layouter : & mut impl Layouter < Fr > ,
52- blob_crts_limbs : & [ [ AssignedCell < Fr , Fr > ; LIMBS ] ] ,
53- barycentric_crts : & [ CRTInteger < Fr > ] ,
50+ _layouter : & mut impl Layouter < Fr > ,
51+ _blob_crts_limbs : & [ [ AssignedCell < Fr , Fr > ; LIMBS ] ] ,
52+ _barycentric_crts : & [ CRTInteger < Fr > ] ,
5453 ) -> Result < ( ) , Error > {
5554 unimplemented ! ( )
5655 }
@@ -64,7 +63,7 @@ pub struct BlobConsistencyWitness {
6463}
6564
6665impl BlobConsistencyWitness {
67- pub fn new < const N_SNARKS : usize > ( bytes : & [ u8 ] , _: & BatchData < N_SNARKS > ) -> Self {
66+ pub fn new < const N_SNARKS : usize > ( _bytes : & [ u8 ] , _: & BatchData < N_SNARKS > ) -> Self {
6867 Self {
6968 id : H256 :: default ( ) , // should be keccak of bytes
7069 blob_data_proof : Default :: default ( ) ,
0 commit comments