Skip to content

Commit

Permalink
chore: update fuel-core version to 0.40.0 (#1532)
Browse files Browse the repository at this point in the history
updated fuel-core to 0.40.0
  • Loading branch information
kayagokalp authored Oct 15, 2024
1 parent 92dd2cc commit 0933ce8
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 18 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
CARGO_TERM_COLOR: always
DASEL_VERSION: https://github.com/TomWright/dasel/releases/download/v2.3.6/dasel_linux_amd64
RUSTFLAGS: "-D warnings"
FUEL_CORE_VERSION: 0.39.0
FUEL_CORE_VERSION: 0.40.0
FUEL_CORE_PATCH_BRANCH: ""
FUEL_CORE_PATCH_REVISION: ""
RUST_VERSION: 1.79.0
Expand All @@ -28,7 +28,7 @@ env:

jobs:
setup-test-projects:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2204
steps:
- uses: actions/checkout@v3
- name: Install toolchain
Expand All @@ -37,7 +37,7 @@ jobs:
toolchain: ${{ env.RUST_VERSION }}
# selecting a toolchain either by action or manual `rustup` calls should happen
# before the cache plugin, as it uses the current rustc version as its cache key
- uses: Swatinem/rust-cache@v2.7.3
- uses: buildjet/cache@v3
with:
prefix-key: "v1-rust"

Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
e2e/sway/**/out/*
get-workspace-members:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2204
outputs:
members: ${{ steps.set-members.outputs.members }}
steps:
Expand All @@ -88,7 +88,7 @@ jobs:
echo "members=$members" >> $GITHUB_OUTPUT
verify-rust-version:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2204
steps:
- uses: actions/checkout@v3
# Ensure CI is using the same minimum toolchain specified in fuels Cargo.toml
Expand All @@ -103,7 +103,7 @@ jobs:
# Fetch Fuel Core and upload as artifact, useful when we build the core from a
# revision so that we can repeat flaky tests without rebuilding the core.
fetch-fuel-core:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2204
steps:
- uses: dtolnay/rust-toolchain@master
with:
Expand All @@ -112,7 +112,7 @@ jobs:

# selecting a toolchain either by action or manual `rustup` calls should happen
# before the cache plugin, as it uses the current rustc version as its cache key
- uses: Swatinem/rust-cache@v2.7.3
- uses: buildjet/cache@v3
continue-on-error: true
with:
key: "fuel-core-build"
Expand All @@ -138,7 +138,7 @@ jobs:

# Ensure workspace is publishable
publish-crates-check:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2204
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -161,7 +161,7 @@ jobs:
- get-workspace-members
- publish-crates-check
- fetch-fuel-core
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2204
strategy:
matrix:
cargo_command: [check]
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:

# selecting a toolchain either by action or manual `rustup` calls should happen
# before the cache plugin, as it uses the current rustc version as its cache key
- uses: Swatinem/rust-cache@v2.7.3
- uses: buildjet/cache@v3
continue-on-error: true
with:
key: "${{ matrix.cargo_command }} ${{ matrix.args }} ${{ matrix.package }}"
Expand Down Expand Up @@ -284,7 +284,7 @@ jobs:
- publish-crates-check
# Only do this job if publishing a release
if: github.event_name == 'release' && github.event.action == 'published'
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2204

steps:
- name: Checkout repository
Expand Down
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,14 @@ octocrab = { version = "0.39", default-features = false }
dotenv = { version = "0.15", default-features = false }

# Dependencies from the `fuel-core` repository:
fuel-core = { version = "0.39.0", default-features = false, features = [
fuel-core = { version = "0.40.0", default-features = false, features = [
"wasm-executor",
] }
fuel-core-chain-config = { version = "0.39.0", default-features = false }
fuel-core-client = { version = "0.39.0", default-features = false }
fuel-core-poa = { version = "0.39.0", default-features = false }
fuel-core-services = { version = "0.39.0", default-features = false }
fuel-core-types = { version = "0.39.0", default-features = false }
fuel-core-chain-config = { version = "0.40.0", default-features = false }
fuel-core-client = { version = "0.40.0", default-features = false }
fuel-core-poa = { version = "0.40.0", default-features = false }
fuel-core-services = { version = "0.40.0", default-features = false }
fuel-core-types = { version = "0.40.0", default-features = false }

# Dependencies from the `fuel-vm` repository:
fuel-asm = { version = "0.58.0" }
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pub const SUPPORTED_FUEL_CORE_VERSION: semver::Version = semver::Version::new(0, 39, 0);
pub const SUPPORTED_FUEL_CORE_VERSION: semver::Version = semver::Version::new(0, 40, 0);
3 changes: 3 additions & 0 deletions packages/fuels-test-helpers/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ impl FuelService {
request_body_bytes_limit: 16 * 1024 * 1024,
query_log_threshold_time: Duration::from_secs(2),
api_request_timeout: Duration::from_secs(60),
database_batch_size: 100,
costs: Default::default(),
number_of_threads: 2,
},
combined_db_config,
snapshot_reader,
Expand Down

0 comments on commit 0933ce8

Please sign in to comment.