My fuel-toolchain.toml looks like this:
[toolchain]
channel = "latest-2023-07-13"
[components]
forc = "0.46.1"
fuel-core = "0.20.6"
how would i find the latest channel for beta-4??
My fuel-toolchain.toml looks like this:
[toolchain]
channel = "latest-2023-07-13"
[components]
forc = "0.46.1"
fuel-core = "0.20.6"
how would i find the latest channel for beta-4??
Hey @diyahir nice to see you actively using the forum! To use the latest toolchain please follow the installation guide here. If you are trying to use a prerelease component and donât want to wait for Fuelup follow the custom instructions below.
Beta 4
fuelup toolchain install beta-4
fuelup default beta-4
Latest
fuelup self update
fuelup default latest
Custom
fuelup toolchain new testing_channel
fuelup component add fuel-core@0.20.6
fuelup component add forc@0.46.1
fuelup default testing_channel
After pointing it to the latest toolchain you should be able to see all your channels using
fuelup show
Default host: aarch64-apple-darwin
fuelup home: /Users/calldelegation/.fuelup
installed toolchains
--------------------
beta-3-aarch64-apple-darwin
beta-4-rc.2-aarch64-apple-darwin
latest-aarch64-apple-darwin (default)
beta-4-aarch64-apple-darwin
latest-2023-02-18-aarch64-apple-darwin
latest-2023-04-12-aarch64-apple-darwin
testing_channel
testing_channel_2
active toolchain
-----------------
latest-aarch64-apple-darwin (default)
forc : 0.46.0
- forc-client
- forc-deploy : 0.46.0
- forc-run : 0.46.0
- forc-doc : 0.46.0
- forc-explore : 0.28.1
- forc-fmt : 0.46.0
- forc-index : 0.20.11
- forc-lsp : 0.46.0
- forc-tx : 0.46.0
- forc-wallet : 0.3.0
fuel-core : 0.20.5
fuel-core-keygen : Error getting version string
fuel-indexer : 0.20.11
fuels versions
---------------
forc : 0.45
forc-wallet : 0.45
My latest channel is under installed toolchains
latest-aarch64-apple-darwin
Thanks for the response!
My question is more related about the toml configuration which defines the workspace etc.
So for projects that are defining the toolchain used inside the project we must specify the channel, so I want to find where to get the latest beta-4 channel
When i set it to my channel:
channel = "beta-4-aarch64-apple-darwin"
¨warning: invalid âfuel-toolchain.tomlâ in project root: Invalid channel âbetaâ
If I set it to âlatestâ, I get the error:
warning: invalid âfuel-toolchain.tomlâ in project root: invalid value: string âlatestâ, expected one of <latest-YYYY-MM-DD|nightly-YYYY-MM-DD|beta-1|beta-2|beta-3> for key
toolchain.channel
Thereâs basically a weird error Iâm seeing and itâs related to the channel being set to an outdated version, in theory I could remove the toml config and let the system use the default one, but itâs better to define it in the project for proper versioning.
I am noticing that beta-4 is not an option in one of error responses, so it could be that Iâm running into some pending issue
The channel name should just be beta-4
.
This is compiling for me:
[toolchain]
channel = "beta-4"
[components]
forc = "0.46.1"
fuel-core = "0.20.6"
Going to tag @kaya for more detailed response.
This is what I see when I do fuelup show using âbeta-4â:
beta-4-aarch64-apple-darwin (override), path: âŚ/GitHub/fuel/asset-error-demo/fuel-toolchain.toml
forc : 0.45.0
- forc-client
- forc-deploy : 0.45.0
- forc-run : 0.45.0
- forc-doc : 0.45.0
- forc-explore : 0.28.1
- forc-fmt : 0.45.0
- forc-index : 0.21.0
- forc-lsp : 0.45.0
- forc-tx : 0.45.0
- forc-wallet : 0.3.0
fuel-core : 0.20.4
fuel-core-keygen : Error getting version string
fuel-indexer : 0.21.0
so the forc is out of date not to 0.46 and I think causing me a weird issue with Asset that has been fixed after 0.45
Beta-4 toolchain specifically uses forc v0.45.0. We are planning to update to 0.46.1 probably in couple of days. You can follow the PR from here.
Best,
k
I guess the confusion comes from being able to specify components that donât override the toolchain, or should it be that the toolchain is not defined but the components are?
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.