Skip to content

Conversation

@ArniStarkware
Copy link
Contributor

@ArniStarkware ArniStarkware commented Feb 10, 2026

Note

Medium Risk
Changes how the batcher selects which classes run under Cairo native and makes it hot-configurable; misconfiguration or rollout issues could impact block execution behavior/performance.

Overview
Adds runtime-tunable control over Cairo-native execution class selection. native_classes_whitelist is introduced on BatcherDynamicConfig (defaulting to All) and included in dynamic config serialization.

Batcher block-builder creation for both proposal and validation now consumes self.config.dynamic_config.native_classes_whitelist instead of reading it from the static contract_class_manager_config subtree. Node config schema/pointers are updated to expose batcher_config.dynamic_config.native_classes_whitelist via the existing native_classes_whitelist pointer target.

Written by Cursor Bugbot for commit 1deba3e. This will update automatically on new commits. Configure here.

@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link
Contributor Author

ArniStarkware commented Feb 10, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ArniStarkware ArniStarkware marked this pull request as ready for review February 10, 2026 19:23
@ArniStarkware ArniStarkware force-pushed the arni/batcher/config/add_native_classes_whitelist_to_dyn_config branch from 7ec1414 to 1deba3e Compare February 10, 2026 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants