Does anyone know what's happening with the standards library?

when I import it I get these errors

This error is seen when you are using incompatible versions of forc. What version of forc are you currently running?

To check, you can type fuelup show

2 Likes

Hey @andrwmayorca! Nice to hear from you again :smiley:

The Sway Standards Library master branch is building on Sway v0.55.0 and will not work on the latest beta-5 chain.

However I want to add that the devnet is not ready yet and there is no faucet. I would recommending using the previous beta-5 sway standards and bump up to the latest version later.

Good news is that all of these things will be coming in the next couple of weeks! :slight_smile:

1 Like

these are my version!!

Perfect!! so, I’ll back to beta-4 again

Your toolchain is fine. Just need to use the older version of the Sway Standards not bump down to the toolchain to beta 4

1 Like

There is a beta-5 version release for sway-standards

standards = { git = "https://github.com/FuelLabs/sway-standards", tag = "beta-5" }

2 Likes

Perfect! I’ll try with that

I used the sway-standards version in beta-5 and it tells me that it cannot find it.

Hi @andrwmayorca

A work around (I do however suggest trying to get the beta-5 channel working), you can always create a custom toolchain:

$ fuelup toolchain new beta5_test_toolchain

add components:

$ fuelup component add forc@0.49.2
$ fuelup component add ...add whatever else you need...

make it default if not already:

$ fuelup default beta5_test_toolchain

have a look:

$ fuelup show

beta5_test_toolchain (default)
  forc : 0.49.2
    - forc-client
      - forc-deploy : 0.49.2
      - forc-run : 0.49.2
    - forc-crypto : 0.49.2
    - forc-doc : 0.49.2
    - forc-explore : not found
    - forc-fmt : 0.49.2
    - forc-lsp : 0.49.2
    - forc-tx : 0.49.2
    - forc-wallet : 0.4.3
  fuel-core : 0.22.1
  fuel-core-keygen : 0.22.1

2 Likes

yeah, I’m still trying to get the beta-5 work

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.