Skip to content

Commit

Permalink
chore(blockifier): add default implementation to add_visited_pcs in s…
Browse files Browse the repository at this point in the history
…tate API
  • Loading branch information
meship-starkware committed Sep 24, 2024
1 parent e04b7af commit e621c96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/blockifier/src/state/state_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<usize>);
fn add_visited_pcs(&mut self, _class_hash: ClassHash, _pcs: &HashSet<usize>) {}
}

/// A class defining the API for updating a state with transactions writes.
Expand Down

0 comments on commit e621c96

Please sign in to comment.