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

chore: fuel-core@0.37.1, forc@0.65.1, and create-fuels toolchains #3265

Merged
merged 10 commits into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
danielbate marked this conversation as resolved.
Show resolved Hide resolved
"@fuel-ts/account": patch
"fuels": patch
"create-fuels": patch
---

chore: `fuel-core@0.37.1`, `forc@0.65.1`, 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"