From 6f63eb7dff2458a7d976184e565b5cbf26f61da2 Mon Sep 17 00:00:00 2001 From: Cameron Carstens Date: Mon, 29 Apr 2024 10:38:33 +0800 Subject: [PATCH] Bump to forc v0.56.0 and fuel-core v0.24.2 (#83) * Update examples to forc v0.56.0 * Update README and CI to forc v0.56.0 * Remove .gitattributes file --- .gitattributes | 2 -- .github/workflows/ci.yaml | 4 ++-- README.md | 4 ++-- .../single_asset/src/single_asset.sw | 2 +- .../multi_asset/src/multi_asset.sw | 9 +++------ .../single_asset/src/single_asset.sw | 5 +---- .../single_asset_single_sub_vault/src/main.sw | 17 ++++++----------- .../src6-vault/single_asset_vault/src/main.sw | 14 ++++---------- .../multi_asset/src/multi_asset.sw | 2 +- .../single_asset/src/single_asset.sw | 2 +- 10 files changed, 21 insertions(+), 40 deletions(-) delete mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index cafc36b6..00000000 --- a/.gitattributes +++ /dev/null @@ -1,2 +0,0 @@ -# Syntax highlighting of sway files as rust -*.sw linguist-language=Rust diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4ff12be2..ea85bbe6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,8 +16,8 @@ env: CARGO_TERM_COLOR: always REGISTRY: ghcr.io RUST_VERSION: 1.75.0 - FORC_VERSION: 0.53.0 - CORE_VERSION: 0.23.0 + FORC_VERSION: 0.56.0 + CORE_VERSION: 0.24.2 PATH_TO_SCRIPTS: .github/scripts jobs: diff --git a/README.md b/README.md index 5ee96ca5..0e5ea80d 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ If you don't find what you're looking for, feel free to create an issue and prop To import a standard the following should be added to the project's `Forc.toml` file under `[dependencies]` with the most recent release: ```rust -standards = { git = "https://github.com/FuelLabs/sway-standards", tag = "v0.1.0" } +standards = { git = "https://github.com/FuelLabs/sway-standards", tag = "v0.5.0" } ``` > **NOTE:** @@ -150,7 +150,7 @@ Example of the SRC-12 implementation where contract deployments contain configur Example of the SRC-12 implementation where all contract deployments are identitcal and thus have the same bytecode and root. > **Note** -> All standards currently use `forc v0.53.0`. +> All standards currently use `forc v0.56.0`.