From e621c96c0fdbe69fbd91d28e9bfd47d643d3e534 Mon Sep 17 00:00:00 2001 From: meship-starkware Date: Tue, 24 Sep 2024 17:12:01 +0300 Subject: [PATCH] chore(blockifier): add default implementation to add_visited_pcs in state API --- crates/blockifier/src/state/state_api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/blockifier/src/state/state_api.rs b/crates/blockifier/src/state/state_api.rs index 5d3c308e2f..b6c20b2e45 100644 --- a/crates/blockifier/src/state/state_api.rs +++ b/crates/blockifier/src/state/state_api.rs @@ -107,7 +107,7 @@ pub trait State: StateReader { /// Marks the given set of PC values as visited for the given class hash. // TODO(lior): Once we have a BlockResources object, move this logic there. Make sure reverted // entry points do not affect the final set of PCs. - fn add_visited_pcs(&mut self, class_hash: ClassHash, pcs: &HashSet); + fn add_visited_pcs(&mut self, _class_hash: ClassHash, _pcs: &HashSet) {} } /// A class defining the API for updating a state with transactions writes.