Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rust Cairo VM support #104

Open
wants to merge 301 commits into
base: main
Choose a base branch
from
Open

rust Cairo VM support #104

wants to merge 301 commits into from

Conversation

Okm165
Copy link
Collaborator

@Okm165 Okm165 commented Nov 21, 2024

No description provided.

@Okm165 Okm165 added the enhancement New feature or request label Nov 21, 2024
@Okm165 Okm165 self-assigned this Nov 21, 2024
@Okm165 Okm165 added the Rust label Dec 5, 2024
Okm165 and others added 21 commits December 5, 2024 19:54
- Introduced new hints for account verification: `HINT_N_ACCOUNTS`, `HINT_N_PROOFS`, `HINT_ACCOUNT_KEY`, and `HINT_GET_MPT_PROOF`.
- Added utility functions for handling hexadecimal values in `utils/mod.rs`.
- Updated `vars.rs` to include new identifiers related to accounts and proofs.
- Created a new module structure for verifiers under `lib/verifiers/evm`.
- Enhanced the hint processor to incorporate the new account verification hints.
- Introduced `dry_run_input.rs` and `run_input.rs` to handle new hint processing for HDP dry run and run inputs.
- Updated `mod.rs` to include new modules and integrate the new hint functions.
- Added utility function `hint_print_task_result` in `utils.rs` for printing task results.
- Enhanced hint processing logic to accommodate new hints and ensure proper execution scope management.
…unctions

- Added new hints for account verification in `account_verifier.rs`, including batch accounts length, account address retrieval, and proof handling.
- Introduced utility functions in `utils/mod.rs` for hex processing and splitting 128-bit integers.
- Updated `mod.rs` files to include new modules for better organization of hints and verifiers.
- Added new identifiers in `vars.rs` for improved hint referencing.
- Refactored existing hint processing logic to integrate new functionalities.
@Okm165 Okm165 requested review from petscheit and codyx January 27, 2025 09:15
@Okm165 Okm165 requested a review from marcellobardus January 27, 2025 11:09
Copy link
Collaborator

@codyx codyx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lot of code to review, but overall LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cairo0 Cairo1 CI/CD Contract documentation Improvements or additions to documentation enhancement New feature or request Rust server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants