@@ -16,16 +16,25 @@ use crate::macros::oracle_testing::{generate_oracle_tests, generate_oracle_tests
1616 quote { calldata_copy_opcode },
1717 quote { return_opcode },
1818 quote { revert_opcode },
19- // TODO: implement once we support more complex types
19+ // TODO: implement once we support slices
2020 quote { emit_public_log_opcode },
2121 quote { returndata_copy_opcode },
2222 ],
2323)]
2424pub mod avm ;
25+ #[generate_oracle_tests_excluding(
26+ @[
27+ // TODO: cover once the iv/sym_key BUFFER mapping is expressible as a plain fixed array of bytes, so the
28+ // fixture synthesizer does not need to special-case it.
29+ quote { aes128_decrypt_oracle },
30+ ],
31+ )]
2532pub mod aes128_decrypt ;
2633#[generate_oracle_tests]
2734pub mod auth_witness ;
35+ #[generate_oracle_tests]
2836pub mod block_header ;
37+ #[generate_oracle_tests]
2938pub mod call_private_function ;
3039#[generate_oracle_tests]
3140pub mod call_utility_function ;
@@ -39,45 +48,71 @@ pub(crate) mod transient_oracles;
3948pub mod contract_sync ;
4049#[generate_oracle_tests_excluding(
4150 @[
42- quote { record_fact_oracle }, // TODO: implement once we support more complex types
43- quote { get_fact_collection_oracle }, // TODO: implement once we support more complex types
44- quote { get_fact_collections_by_type_oracle }, // TODO: implement once we support more complex types
51+ // TODO: implement once the test resolver can serve EphemeralArray contents.
52+ quote { record_fact_oracle },
53+ quote { get_fact_collection_oracle },
54+ quote { get_fact_collections_by_type_oracle },
4555 ],
4656)]
4757pub mod fact_store ;
4858#[generate_oracle_tests]
4959pub mod public_call ;
60+ // TODO: cover with oracle tests once the test resolver can serve EphemeralArray contents.
5061pub mod tx_resolution ;
5162#[generate_oracle_tests]
5263pub mod resolve_custom_request ;
5364#[generate_oracle_tests_excluding(
5465 @[
55- quote { resolve_tagging_strategy_oracle }, // TODO: implement once we support more complex types
66+ // TODO: needs a hand-written multi-scenario synthesizer entry (enum-like type with private fields,
67+ // one named scenario per constructor) on both sides.
68+ quote { resolve_tagging_strategy_oracle },
5669 ],
5770)]
5871pub mod resolve_tagging_strategy ;
5972#[generate_oracle_tests]
6073pub mod tx_phase ;
74+ #[generate_oracle_tests]
6175pub mod execution ;
6276#[generate_oracle_tests]
6377pub mod execution_cache ;
78+ #[generate_oracle_tests]
79+ pub mod get_contract_instance ;
6480#[generate_oracle_tests_excluding(
6581 @[
66- quote { get_contract_instance_oracle }, // TODO: implement once we support more complex types
82+ // TODO: cover once the sibling-path mapping is expressible as a plain fixed array
83+ quote { get_l1_to_l2_membership_witness_oracle },
6784 ],
6885)]
69- pub mod get_contract_instance ;
7086pub mod get_l1_to_l2_membership_witness ;
87+ #[generate_oracle_tests_excluding(
88+ @[
89+ // TODO: cover once the sibling-path mapping is expressible as a plain fixed array
90+ quote { get_low_nullifier_membership_witness_oracle },
91+ quote { get_nullifier_membership_witness_oracle },
92+ ],
93+ )]
7194pub mod get_nullifier_membership_witness ;
95+ #[generate_oracle_tests_excluding(
96+ @[
97+ // TODO: cover once the sibling-path mapping is expressible as a plain fixed array
98+ quote { get_public_data_witness_oracle },
99+ ],
100+ )]
72101pub mod get_public_data_witness ;
102+ #[generate_oracle_tests]
73103pub mod get_membership_witness ;
104+ #[generate_oracle_tests]
74105pub mod keys ;
106+ #[generate_oracle_tests]
75107pub mod key_validation_request ;
108+ // TODO: cover with oracle tests once the two sides agree on the param grouping (TS wraps them in a single struct).
76109pub mod logs ;
110+ // TODO: cover with oracle tests once the test resolver can serve EphemeralArray contents.
77111pub mod message_processing ;
78112#[generate_oracle_tests_excluding(
79113 @[
80- quote { get_notes_oracle }, // TODO: implement once we support more complex types
114+ // TODO: implement once the test resolver can serve EphemeralArray contents.
115+ quote { get_notes_oracle },
81116 ],
82117)]
83118pub mod notes ;
@@ -89,6 +124,7 @@ pub mod offchain_effect;
89124pub mod version ;
90125#[generate_oracle_tests]
91126pub mod random ;
127+ // TODO: cover with oracle tests once the test resolver can serve EphemeralArray contents.
92128pub mod shared_secret ;
93129#[generate_oracle_tests]
94130pub mod storage ;
0 commit comments