File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/apollo_gateway/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ impl SyncStateReader {
7373 Ok ( sierra)
7474 }
7575
76- fn get_compiled_class_from_client ( & self , class_hash : ClassHash ) -> StateResult < ContractClass > {
76+ fn get_contract_class_from_client ( & self , class_hash : ClassHash ) -> StateResult < ContractClass > {
7777 let is_class_declared = self
7878 . runtime
7979 . block_on ( self . state_sync_client . is_class_declared_at ( self . block_number , class_hash) )
@@ -98,7 +98,7 @@ impl SyncStateReader {
9898
9999impl FetchCompiledClasses for SyncStateReader {
100100 fn get_compiled_classes ( & self , class_hash : ClassHash ) -> StateResult < CompiledClasses > {
101- let contract_class = self . get_compiled_class_from_client ( class_hash) ?;
101+ let contract_class = self . get_contract_class_from_client ( class_hash) ?;
102102 match contract_class {
103103 ContractClass :: V1 ( casm_contract_class) => {
104104 let sierra = self . read_sierra ( class_hash) ?. ok_or_else ( || {
@@ -165,7 +165,7 @@ impl BlockifierStateReader for SyncStateReader {
165165 }
166166
167167 fn get_compiled_class ( & self , class_hash : ClassHash ) -> StateResult < RunnableCompiledClass > {
168- let contract_class = self . get_compiled_class_from_client ( class_hash) ?;
168+ let contract_class = self . get_contract_class_from_client ( class_hash) ?;
169169
170170 match contract_class {
171171 ContractClass :: V1 ( casm_contract_class) => {
You can’t perform that action at this time.
0 commit comments