FuelLabs / FuelLabs/fuelup

forc plugins installed incorrectly from override

Open
#509 0 comments 0 reactions 0 assignees View on GitHub
bug overrides
Dominant language
Rust
Stars
282
Forks
150
Avg merge
2d 17h
Merged PRs (30d)
2

Description

### Problem

When installing a forc version from an override (fuel-toolchain.toml), the forc-client and other core plugins are not installed.

### Steps

1. `rm ~/.fuelup`
2. `curl --proto '=https' --tlsv1.2 -sSf https://install.fuel.network/fuelup-init.sh | sh`
3. `mkdir myproj && cd myproj && forc init`
4. create `fuel-toolchain.toml` with the contents:

```
[toolchain]
channel = "beta-4"
```

5. run `forc build`
6. run `fuelup show` - you should see:

```
installed toolchains
--------------------
latest-x86_64-unknown-linux-gnu (default)
beta-4-x86_64-unknown-linux-gnu (override)

active toolchain
-----------------
beta-4-x86_64-unknown-linux-gnu (override), path: /myproj/fuel-toolchain.toml
forc : 0.46.1
- forc-client
- forc-deploy : Error getting version string
- forc-run : Error getting version string
- forc-doc : Error getting version string
- forc-explore : 0.28.1
- forc-fmt : Error getting version string
- forc-index : 0.23.0
- forc-lsp : Error getting version string
- forc-tx : Error getting version string
- forc-wallet : 0.3.0
fuel-core : Error getting version string
fuel-core-keygen : Error getting version string
fuel-indexer : 0.23.0
```

### Possible Solution(s)

_No response_

### Notes

_No response_

### Fuelup version

```console
fuelup 0.19.5
```

### Installed components

```console
latest-x86_64-unknown-linux-gnu
forc - Up to date : 0.47.0
fuel-core - Up to date : 0.20.8
fuel-core-keygen - Error getting version string
fuel-indexer - Up to date : 0.23.0
fuelup - Up to date : 0.19.5
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.