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

Add VM concurrency support #2059

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Commits on Sep 24, 2024

  1. Configuration menu
    Copy the full SHA
    5126b0f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    70380da View commit details
    Browse the repository at this point in the history
  3. Add concurrency support

    This commit changes cairoVMExecute. It doesn't use the `charge_fee` and `validate` variables. It converts the `TxnAndQueryBit` objects to the `Transaction` objects expected by the TransactionExecutor, uses the `execute_txs` method of the `TransactionExecutor` to execute all transactions (concurrently or not). After execution, it handles the results, including errors, rolled back transactions, and trace logging, according to the original logic.
    AnkushinDaniil committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    dcacb48 View commit details
    Browse the repository at this point in the history
  4. Add num_cpus

    AnkushinDaniil committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    e60691d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b2af037 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a053ddc View commit details
    Browse the repository at this point in the history