Skip to content

Commit

Permalink
chore: [email protected], [email protected], and create-fuels toolchai…
Browse files Browse the repository at this point in the history
…ns (#3265)

* chore: upgrade fuel-core

* chore: changeset

* chore: upgrade `forc` and all toolchain versions to `testnet` (#3267)

update all toolchain versions

* chore: changeset update

* Update afraid-pets-drive.md

* fix builtin versions

* fix test

* ignore all forc builds, loaders included

* chore: update changeset

Co-authored-by: Peter Smith <[email protected]>

---------

Co-authored-by: Nedim Salkić <[email protected]>
Co-authored-by: Peter Smith <[email protected]>
  • Loading branch information
3 people authored Oct 7, 2024
1 parent 1991f97 commit d4e839f
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 20 deletions.
10 changes: 10 additions & 0 deletions .changeset/afraid-pets-drive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@internal/forc": patch
"@internal/fuel-core": patch
"@fuel-ts/versions": patch
"@fuel-ts/account": patch
"fuels": patch
"create-fuels": patch
---

chore: `[email protected]`, `[email protected]`, and `create-fuels` toolchains
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ _site/
Forc.lock

# Ignore forc builds
**/out/debug
**/out/release
**/out
**/test-predicate-*/index.ts

## Ignore perf test files
Expand Down
2 changes: 1 addition & 1 deletion internal/forc/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.64.0
0.65.1
2 changes: 1 addition & 1 deletion internal/fuel-core/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.37.0
0.37.1
2 changes: 1 addition & 1 deletion packages/account/src/providers/provider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ describe('Provider', () => {

const version = await provider.getVersion();

expect(version).toEqual('0.37.0');
expect(version).toEqual('0.37.1');
});

it('can call()', async () => {
Expand Down
4 changes: 1 addition & 3 deletions packages/create-fuels/test/cli.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { versions } from '@fuel-ts/versions';
import toml from '@iarna/toml';
import { mkdirSync, readFileSync } from 'fs';
import { join } from 'path';
Expand Down Expand Up @@ -84,10 +83,9 @@ describe('CLI', { timeout: 15_000 }, () => {
const fuelToolchain = readFileSync(fuelToolchainPath, 'utf-8');
const parsedFuelToolchain = toml.parse(fuelToolchain);

const { toolchain, components } = parsedFuelToolchain;
const { toolchain } = parsedFuelToolchain;

expect(toolchain).toEqual({ channel: 'testnet' });
expect(components).toEqual({ forc: versions.FORC, 'fuel-core': versions.FUEL_CORE });
});

test('should rewrite for the appropriate package manager', async () => {
Expand Down
4 changes: 2 additions & 2 deletions packages/versions/src/lib/getBuiltinVersions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import type { Versions } from './types';

export function getBuiltinVersions(): Versions {
return {
FORC: '0.64.0',
FUEL_CORE: '0.37.0',
FORC: '0.65.1',
FUEL_CORE: '0.37.1',
FUELS: '0.94.9',
};
}
6 changes: 1 addition & 5 deletions templates/nextjs/fuel-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
[toolchain]
channel = "testnet"

[components]
forc = "0.64.0"
fuel-core = "0.37.0"
channel = "testnet"
6 changes: 1 addition & 5 deletions templates/vite/fuel-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
[toolchain]
channel = "testnet"

[components]
forc = "0.64.0"
fuel-core = "0.37.0"
channel = "testnet"

0 comments on commit d4e839f

Please sign in to comment.