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

Forkless state transition with upgradable WASM executor #1716

Merged
merged 77 commits into from
Mar 26, 2024

Commits on Feb 15, 2024

  1. Configuration menu
    Copy the full SHA
    3783579 View commit details
    Browse the repository at this point in the history
  2. Updated CHANGELOG.md

    xgreenx committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    3c2d424 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2024

  1. Merge branch 'master' into feature/blocks-second-key-extraction

    # Conflicts:
    #	crates/fuel-core/src/database/storage.rs
    #	crates/fuel-core/src/graphql_api/database.rs
    #	crates/fuel-core/src/graphql_api/ports.rs
    #	crates/fuel-core/src/graphql_api/storage.rs
    #	crates/fuel-core/src/graphql_api/worker_service.rs
    #	crates/storage/src/column.rs
    xgreenx committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    7e8689c View commit details
    Browse the repository at this point in the history
  2. Merge with master

    xgreenx committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    1d95e63 View commit details
    Browse the repository at this point in the history
  3. Fix CI

    xgreenx committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    95dfa58 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2024

  1. Apply comments from the PR

    xgreenx committed Feb 18, 2024
    Configuration menu
    Copy the full SHA
    111efbd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cabca80 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0e20633 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. Merge branch 'master' into feature/blocks-second-key-extraction

    # Conflicts:
    #	CHANGELOG.md
    #	crates/types/src/services/txpool.rs
    Voxelot committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    4e8ebc6 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. Configuration menu
    Copy the full SHA
    ad09341 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b619743 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    71dbc41 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    593ad52 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    97a96d5 View commit details
    Browse the repository at this point in the history
  6. Remove contstrain

    xgreenx committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    3ce8c17 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    802578e View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2024

  1. Merge branch 'feature/blocks-second-key-extraction' into feature/comm…

    …it-changes
    
    # Conflicts:
    #	crates/fuel-core/src/database/storage.rs
    #	crates/fuel-core/src/graphql_api/ports.rs
    #	crates/fuel-core/src/graphql_api/worker_service.rs
    #	crates/storage/src/blueprint/merklized.rs
    xgreenx committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    5cc6c33 View commit details
    Browse the repository at this point in the history
  2. Merge conflicts

    xgreenx committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    0137658 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into feature/commit-changes

    # Conflicts:
    #	crates/fuel-core/src/database/block.rs
    #	crates/fuel-core/src/database/storage.rs
    #	crates/fuel-core/src/graphql_api/ports.rs
    #	crates/fuel-core/src/graphql_api/worker_service.rs
    #	crates/storage/src/blueprint.rs
    #	crates/storage/src/blueprint/merklized.rs
    #	crates/storage/src/blueprint/plain.rs
    #	crates/storage/src/blueprint/sparse.rs
    #	crates/storage/src/structured_storage.rs
    #	crates/storage/src/structured_storage/blocks.rs
    xgreenx committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    cc86bb6 View commit details
    Browse the repository at this point in the history
  4. Generalized the implementation of the iterator functionality.

    Added helper function to create a `StorageTransaction`.
    Re-worked `Changes` to use `HashMap<Btree>` for iteration functionality,
    xgreenx committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    5b9bd78 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2024

  1. Implemented tracking of the height during committing of the changes.

    The `Database` is responsible for its updating and tracking.
    xgreenx committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    7b1141a View commit details
    Browse the repository at this point in the history
  2. Small nits

    xgreenx committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    305e567 View commit details
    Browse the repository at this point in the history
  3. Make clippy happy

    xgreenx committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    4716c15 View commit details
    Browse the repository at this point in the history
  4. Updated CHANGELOG.md

    xgreenx committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    518a842 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2024

  1. Merge branch 'master' into feature/commit-changes

    # Conflicts:
    #	CHANGELOG.md
    #	crates/services/executor/src/ports.rs
    xgreenx committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    253d188 View commit details
    Browse the repository at this point in the history
  2. Removed TODOs

    xgreenx committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    f44b903 View commit details
    Browse the repository at this point in the history
  3. Apply comments from the PR

    xgreenx committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    00ef712 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2024

  1. Apply comments from the PR

    xgreenx committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    0c27ff9 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into feature/commit-changes

    # Conflicts:
    #	crates/services/executor/src/executor.rs
    xgreenx committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    fb5bc50 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. Configuration menu
    Copy the full SHA
    0c63393 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2024

  1. Merge branch 'master' into feature/commit-changes

    # Conflicts:
    #	crates/fuel-core/src/database/state.rs
    #	crates/fuel-core/src/database/storage.rs
    #	crates/fuel-core/src/executor.rs
    #	crates/fuel-core/src/graphql_api/worker_service.rs
    #	crates/fuel-core/src/schema/dap.rs
    #	crates/fuel-core/src/service/genesis/off_chain.rs
    #	crates/services/executor/src/executor.rs
    #	crates/services/executor/src/ports.rs
    #	crates/storage/src/structured_storage.rs
    #	crates/storage/src/structured_storage/contracts.rs
    xgreenx committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    25b9f57 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    309a8bf View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2024

  1. Merge branch 'master' into feature/commit-changes

    # Conflicts:
    #	bin/fuel-core/src/cli/snapshot.rs
    #	crates/fuel-core/src/combined_database.rs
    #	crates/fuel-core/src/database.rs
    #	crates/fuel-core/src/database/balances.rs
    #	crates/fuel-core/src/database/contracts.rs
    #	crates/fuel-core/src/database/state.rs
    #	crates/fuel-core/src/database/storage.rs
    #	crates/fuel-core/src/service.rs
    #	crates/fuel-core/src/service/genesis.rs
    #	crates/fuel-core/src/service/genesis/off_chain.rs
    #	crates/fuel-core/src/state.rs
    #	crates/fuel-core/src/state/in_memory/memory_store.rs
    #	crates/fuel-core/src/state/in_memory/transaction.rs
    #	crates/fuel-core/src/state/rocks_db.rs
    #	crates/services/executor/src/refs/contract.rs
    #	crates/storage/src/kv_store.rs
    #	crates/storage/src/structured_storage.rs
    xgreenx committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    2e64af8 View commit details
    Browse the repository at this point in the history
  2. Merged with the master

    xgreenx committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    d682dd8 View commit details
    Browse the repository at this point in the history
  3. Address comemnts form the PR

    xgreenx committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    9344069 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2024

  1. Configuration menu
    Copy the full SHA
    154328c View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into feature/commit-changes

    # Conflicts:
    #	crates/fuel-core/src/database.rs
    #	crates/fuel-core/src/service/genesis.rs
    #	crates/fuel-core/src/service/genesis/workers.rs
    xgreenx committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    f8b9c07 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d0b95df View commit details
    Browse the repository at this point in the history
  4. Merged master

    xgreenx committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    ec92011 View commit details
    Browse the repository at this point in the history
  5. Fixed tests

    xgreenx committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    ffecd1d View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2024

  1. Configuration menu
    Copy the full SHA
    dd42659 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'feature/commit-changes' into feature/forkless-state-tra…

    …nsition
    
    # Conflicts:
    #	Cargo.lock
    #	Cargo.toml
    #	crates/chain-config/Cargo.toml
    #	crates/fuel-core/src/executor.rs
    #	crates/fuel-core/src/graphql_api/worker_service.rs
    #	crates/fuel-core/src/service/adapters/producer.rs
    #	crates/fuel-core/src/service/sub_services.rs
    #	crates/services/executor/src/executor.rs
    #	crates/services/producer/src/block_producer.rs
    #	crates/types/src/services.rs
    #	crates/types/src/services/block_producer.rs
    xgreenx committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    87e9524 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2024

  1. Applied comments from the PR

    xgreenx committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    8b3be42 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3899b2b View commit details
    Browse the repository at this point in the history
  3. Merged with parent branch

    xgreenx committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    e8295ea View commit details
    Browse the repository at this point in the history
  4. Remove patch section

    xgreenx committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    e12cb77 View commit details
    Browse the repository at this point in the history
  5. Make CI happy

    xgreenx committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    944a273 View commit details
    Browse the repository at this point in the history
  6. Make CI happy

    xgreenx committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    106df96 View commit details
    Browse the repository at this point in the history
  7. Added wasm32-unknown-unknown and removed protobuf, since libp2p u…

    …ses `quick-protobuf`
    xgreenx committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    d92380a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    551baf6 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    47d6df8 View commit details
    Browse the repository at this point in the history
  10. Small nits

    xgreenx committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    f909992 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e21e58e View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    dd45a89 View commit details
    Browse the repository at this point in the history
  13. Merge branch 'master' into feature/forkless-state-transition

    # Conflicts:
    #	Cargo.lock
    #	crates/fuel-core/src/executor.rs
    #	crates/fuel-core/src/graphql_api/worker_service.rs
    #	crates/services/executor/src/executor.rs
    #	crates/storage/src/kv_store.rs
    #	crates/types/src/services.rs
    xgreenx committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    a94af64 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2024

  1. Reverted changes in the cargo lock file.

    Updated CI to run WASM and non-WASM versions.
    xgreenx committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    0916f64 View commit details
    Browse the repository at this point in the history
  2. Make CI happy

    xgreenx committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    c37b5bb View commit details
    Browse the repository at this point in the history
  3. Self review

    xgreenx committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    15b921a View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2024

  1. Configuration menu
    Copy the full SHA
    e584453 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2024

  1. Merge branch 'master' into feature/forkless-state-transition

    # Conflicts:
    #	CHANGELOG.md
    #	crates/services/producer/src/block_producer.rs
    xgreenx committed Mar 16, 2024
    Configuration menu
    Copy the full SHA
    98bbe6b View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2024

  1. Configuration menu
    Copy the full SHA
    b7da355 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into feature/forkless-state-transition

    # Conflicts:
    #	Cargo.lock
    xgreenx committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    b8ac0e8 View commit details
    Browse the repository at this point in the history
  3. Merged with master

    xgreenx committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    91a7c59 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e789e4e View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. Configuration menu
    Copy the full SHA
    6999c47 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    243ac6c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    967289f View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2024

  1. Configuration menu
    Copy the full SHA
    2698382 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2024

  1. Configuration menu
    Copy the full SHA
    a0d99e1 View commit details
    Browse the repository at this point in the history
  2. Rerun for any changes

    xgreenx committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    95128e3 View commit details
    Browse the repository at this point in the history
  3. Up Rust in CI to 1.77

    xgreenx committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    8ce8ac0 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2024

  1. Configuration menu
    Copy the full SHA
    09d3d96 View commit details
    Browse the repository at this point in the history
  2. Revert "Up Rust in CI to 1.77"

    This reverts commit 8ce8ac0.
    xgreenx committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    6328d2d View commit details
    Browse the repository at this point in the history
  3. Addressed comments in the PR

    xgreenx committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    06d1826 View commit details
    Browse the repository at this point in the history
  4. Merge remote-tracking branch 'origin/feature/forkless-state-transitio…

    …n' into feature/forkless-state-transition
    xgreenx committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    072ec0e View commit details
    Browse the repository at this point in the history
  5. Fixed compilation

    xgreenx committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    a53dd24 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'master' into feature/forkless-state-transition

    # Conflicts:
    #	CHANGELOG.md
    Voxelot committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    325afec View commit details
    Browse the repository at this point in the history