File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
crates/types/chunk/src/scroll Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ pub fn execute(witness: ChunkWitness) -> Result<ChunkInfo, String> {
4242 post_state_root,
4343 withdraw_root,
4444 ..
45- } = verifier:: run ( & witness. blocks , chain_spec, witness. compression_ratios )
45+ } = verifier:: run ( & witness. blocks , chain_spec, witness. compression_infos )
4646 . map_err ( |e| format ! ( "verify error: {e}" ) ) ?;
4747
4848 let blocks = manually_drop_on_zkvm ! ( blocks) ;
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ pub struct ChunkWitness {
1919 /// The code version specify the chain spec
2020 pub fork_name : ForkName ,
2121 /// The compression ratios for each block in the chunk.
22- pub compression_ratios : Vec < Vec < U256 > > ,
22+ pub compression_infos : Vec < Vec < U256 > > ,
2323 /// Validium encrypted txs and secret key if this is a validium chain.
2424 pub validium : Option < ValidiumInputs > ,
2525}
@@ -139,7 +139,7 @@ impl ChunkWitness {
139139 blocks,
140140 prev_msg_queue_hash,
141141 fork_name,
142- compression_ratios,
142+ compression_infos : compression_ratios,
143143 validium,
144144 }
145145 }
@@ -183,7 +183,7 @@ impl From<ChunkWitness> for LegacyChunkWitness {
183183 . collect ( ) ,
184184 prev_msg_queue_hash : value. prev_msg_queue_hash ,
185185 fork_name : value. fork_name ,
186- compression_ratios : value. compression_ratios ,
186+ compression_ratios : value. compression_infos ,
187187 state_commit_mode : StateCommitMode :: Auto ,
188188 }
189189 }
You can’t perform that action at this time.
0 commit comments