Skip to content

chore: bump fuels-rs to 0.77, fuel-vm to 0.66, fuel-core to 0.48#234

Open
ironcev wants to merge 6 commits intomainfrom
ironcev/bump-fuel-vm-to-0.66-and-fuel-core-to-0.48
Open

chore: bump fuels-rs to 0.77, fuel-vm to 0.66, fuel-core to 0.48#234
ironcev wants to merge 6 commits intomainfrom
ironcev/bump-fuel-vm-to-0.66-and-fuel-core-to-0.48

Conversation

@ironcev
Copy link
Copy Markdown
Member

@ironcev ironcev commented Apr 7, 2026

This PR:

  • bumps fuel-vm dependencies to v0.66
  • bumps fuel-core dependencies to v0.48
  • bumps fuels-rs dependencies to v0.77
  • bumps sway dependencies to v0.71.0
  • updates patch version of all the forc plugins
  • bumps Rust to 1.93.0
  • bumps actions/checkout to v6

@cursor
Copy link
Copy Markdown

cursor bot commented Apr 7, 2026

PR Summary

Medium Risk
Large dependency/toolchain upgrades (Rust 1.93, fuel-*, fuels-*, sway-*) can introduce build/runtime regressions and API incompatibilities across the workspace. Storage/trace code in forc-client was updated to new fuel-vm storage read semantics, which could affect call tracing behavior if edge cases differ.

Overview
Upgrades the workspace toolchain and dependency stack: Rust is bumped to 1.93.0, CI moves to actions/checkout@v6 and updates fuel-core version detection, and workspace deps are updated to fuel-core 0.48, fuel-vm/fuel-tx/fuel-crypto 0.66, fuels-* 0.77, and sway-* 0.71.0 (with corresponding Cargo.lock refresh).

Aligns forc-client with upstream API changes by updating trace storage reads to the new StorageRead::{read_exact, read_zerofill} contract (returning StorageReadError), and adjusts contract_state_remove_range to the new removal behavior/signature. Also bumps forc-client to 0.71.2, updates its changelog, derives Default for Target, and normalizes test Forc.toml fixtures to include implicit-std = true.

Reviewed by Cursor Bugbot for commit e8eff6e. Bugbot is set up for automated code reviews on this repo. Configure here.

@ironcev ironcev self-assigned this Apr 7, 2026
@ironcev ironcev requested review from JoshuaBatty and zees-dev April 7, 2026 19:34
@ironcev
Copy link
Copy Markdown
Member Author

ironcev commented Apr 7, 2026

👍

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Hardcoded .1 patch suffix produces nonexistent fuel-core version
    • Updated CI to read the exact fuel-core-client patch version from Cargo.lock instead of appending .1, preventing invalid fuel-core release downloads.

Create PR

Or push these changes by commenting:

@cursor push d6d068a043
Preview (d6d068a043)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -32,9 +32,19 @@
       - name: Get fuel-core version
         id: get-version
         run: |
-          version=$(grep 'fuel-core-client' Cargo.toml | head -1 | sed -E 's/.*version = "([0-9]+\.[0-9]+)".*/\1/')
-          # Append .1 to get the patch version (e.g., 0.47 -> 0.47.1)
-          version="${version}.1"
+          version=$(awk '
+            $0 == "[[package]]" { in_package = 0 }
+            $0 == "name = \"fuel-core-client\"" { in_package = 1; next }
+            in_package && $0 ~ /^version = / {
+              split($0, arr, "\"")
+              print arr[2]
+              exit
+            }
+          ' Cargo.lock)
+          if [ -z "$version" ]; then
+            echo "Failed to detect fuel-core-client version from Cargo.lock"
+            exit 1
+          fi
           echo "fuel_core_version=$version" >> $GITHUB_OUTPUT
           echo "Detected fuel-core version: $version"

This Bugbot Autofix run was free. To enable autofix for future PRs, go to the Cursor dashboard.

Reviewed by Cursor Bugbot for commit b134295. Configure here.

Comment thread .github/workflows/ci.yml
@ironcev ironcev added ci Everything CI related dependencies Everything to do with dependencies labels Apr 7, 2026
@ironcev ironcev marked this pull request as draft April 8, 2026 07:06
@ironcev ironcev marked this pull request as ready for review April 15, 2026 12:50
Copy link
Copy Markdown
Contributor

@zees-dev zees-dev left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Everything CI related dependencies Everything to do with dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants