From 5ec254d6d53c160468035b120cd9dd6ad5e2f7a4 Mon Sep 17 00:00:00 2001 From: Peter Smith Date: Thu, 12 Dec 2024 12:41:53 +0000 Subject: [PATCH] chore: updated forc version to `0.66.5` (#3468) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: bumped forc * chore: changeset * chore: fix library visibility --------- Co-authored-by: Sérgio Torres <30977845+Torres-ssf@users.noreply.github.com> --- .changeset/proud-spoons-allow.md | 6 ++++++ internal/forc/VERSION | 2 +- .../fixtures/templates/contract-with-configurable/main.hbs | 6 +++--- .../fixtures/templates/predicate-with-configurable/main.hbs | 4 ++-- .../fixtures/templates/script-with-configurable/main.hbs | 2 +- .../test/fixtures/forc-projects/abi-contract/src/main.sw | 6 +++--- .../fixtures/forc-projects/bytecode-sway-lib/src/main.sw | 2 +- packages/versions/src/lib/getBuiltinVersions.ts | 2 +- 8 files changed, 18 insertions(+), 12 deletions(-) create mode 100644 .changeset/proud-spoons-allow.md diff --git a/.changeset/proud-spoons-allow.md b/.changeset/proud-spoons-allow.md new file mode 100644 index 00000000000..aee1ffe33dc --- /dev/null +++ b/.changeset/proud-spoons-allow.md @@ -0,0 +1,6 @@ +--- +"@fuel-ts/versions": patch +"@internal/forc": patch +--- + +chore: updated forc version to `0.66.5` diff --git a/internal/forc/VERSION b/internal/forc/VERSION index e890bffdf27..fff670af850 100644 --- a/internal/forc/VERSION +++ b/internal/forc/VERSION @@ -1 +1 @@ -0.66.4 +0.66.5 diff --git a/packages/abi-typegen/test/fixtures/templates/contract-with-configurable/main.hbs b/packages/abi-typegen/test/fixtures/templates/contract-with-configurable/main.hbs index d767304335a..9c3157b490b 100644 --- a/packages/abi-typegen/test/fixtures/templates/contract-with-configurable/main.hbs +++ b/packages/abi-typegen/test/fixtures/templates/contract-with-configurable/main.hbs @@ -160,17 +160,17 @@ const abi = { { "name": "SHOULD_RETURN", "concreteTypeId": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903", - "offset": 2776 + "offset": 2816 }, { "name": "AN_OPTION", "concreteTypeId": "2da102c46c7263beeed95818cd7bee801716ba8303dddafdcd0f6c9efda4a0f1", - "offset": 2752 + "offset": 2792 }, { "name": "A_GENERIC_STRUCT", "concreteTypeId": "71df88006611ffff852cf617defb70f77adaf507305088cedd41d276c783aab0", - "offset": 2768 + "offset": 2808 } ] }; diff --git a/packages/abi-typegen/test/fixtures/templates/predicate-with-configurable/main.hbs b/packages/abi-typegen/test/fixtures/templates/predicate-with-configurable/main.hbs index fdacb6def91..c40afd5a99d 100644 --- a/packages/abi-typegen/test/fixtures/templates/predicate-with-configurable/main.hbs +++ b/packages/abi-typegen/test/fixtures/templates/predicate-with-configurable/main.hbs @@ -73,12 +73,12 @@ const abi = { { "name": "FEE", "concreteTypeId": "c89951a24c6ca28c13fd1cfdc646b2b656d69e61a92b91023be7eb58eb914b6b", - "offset": 920 + "offset": 936 }, { "name": "ADDRESS", "concreteTypeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b", - "offset": 888 + "offset": 904 } ] }; diff --git a/packages/abi-typegen/test/fixtures/templates/script-with-configurable/main.hbs b/packages/abi-typegen/test/fixtures/templates/script-with-configurable/main.hbs index 71b9ba3cb53..34c9a4f1722 100644 --- a/packages/abi-typegen/test/fixtures/templates/script-with-configurable/main.hbs +++ b/packages/abi-typegen/test/fixtures/templates/script-with-configurable/main.hbs @@ -81,7 +81,7 @@ const abi = { { "name": "SHOULD_RETURN", "concreteTypeId": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903", - "offset": 760 + "offset": 768 } ] }; diff --git a/packages/fuel-gauge/test/fixtures/forc-projects/abi-contract/src/main.sw b/packages/fuel-gauge/test/fixtures/forc-projects/abi-contract/src/main.sw index afc7ebb063f..dcce801f68d 100644 --- a/packages/fuel-gauge/test/fixtures/forc-projects/abi-contract/src/main.sw +++ b/packages/fuel-gauge/test/fixtures/forc-projects/abi-contract/src/main.sw @@ -1,8 +1,8 @@ contract; -mod data_structures; -mod equality; -mod utils; +pub mod data_structures; +pub mod equality; +pub mod utils; use data_structures::*; use equality::*; diff --git a/packages/fuel-gauge/test/fixtures/forc-projects/bytecode-sway-lib/src/main.sw b/packages/fuel-gauge/test/fixtures/forc-projects/bytecode-sway-lib/src/main.sw index 5aac2d0d056..f0c350998a2 100644 --- a/packages/fuel-gauge/test/fixtures/forc-projects/bytecode-sway-lib/src/main.sw +++ b/packages/fuel-gauge/test/fixtures/forc-projects/bytecode-sway-lib/src/main.sw @@ -19,6 +19,6 @@ impl MyContract for Contract { } fn compute_predicate_address(bytecode: Vec) -> Address { - return Address::from(0x68fec7a57e48f4ec6467d7e09c27272bd8ca72b312ea553a470b98731475ccf3); + return Address::from(0x190c849d8d5fdc0ad9e87cdfa02dde8b4414cacb34ae277a49ec057e67b04c01); } } diff --git a/packages/versions/src/lib/getBuiltinVersions.ts b/packages/versions/src/lib/getBuiltinVersions.ts index 66829a030dc..64a22c3ab01 100644 --- a/packages/versions/src/lib/getBuiltinVersions.ts +++ b/packages/versions/src/lib/getBuiltinVersions.ts @@ -2,7 +2,7 @@ import type { Versions } from './types'; export function getBuiltinVersions(): Versions { return { - FORC: '0.66.4', + FORC: '0.66.5', FUEL_CORE: '0.40.1', FUELS: '0.97.1', };