pub fn extract_bytecodes_marked_as_known(events: &[Self]) -> impl Iterator<Item = H256> + '_ {
        events
            .iter()
            .filter(|event| {
                // Filter events from the deployer contract that match the expected signature.
                event.address == KNOWN_CODES_STORAGE_ADDRESS
                    && event.indexed_topics.len() == 3
                    && event.indexed_topics[0] == Self::PUBLISHED_BYTECODE_SIGNATURE
            })
            .map(|event| event.indexed_topics[1])
    }
Extracts all bytecodes marked as known on the system contracts.
core/lib/vm_interface/src/types/outputs/execution_result.rs