File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
crates/starknet_os/src/io Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -105,10 +105,10 @@ pub struct OsBlockInput {
105105 // buffer=STORED_BLOCK_HASH_BUFFER.
106106 // It is the hash that is going to be written by this OS run.
107107 pub ( crate ) old_block_number_and_hash : Option < ( BlockNumber , BlockHash ) > ,
108- // Class hashes that need migration from v1 hash to v2 hash (Poseidon → Blake) .
108+ // A map from Class hashes to Compiled class hashes v2 for all classes that require migration .
109109 #[ allow( dead_code) ]
110110 // TODO(AvivG): remove allow(dead_code) once migration_class_hashes is used.
111- pub ( crate ) class_hashes_to_migrate : Vec < ClassHash > ,
111+ pub ( crate ) class_hashes_to_migrate : HashMap < ClassHash , CompiledClassHash > ,
112112}
113113
114114#[ cfg_attr( feature = "deserialize" , derive( serde:: Deserialize ) ) ]
You can’t perform that action at this time.
0 commit comments