Malformed `abi`. Did you use `forc` to create it?: invalid type: string "5557842539076482339"


I encountered an issue after updating the fuel-toolchain.toml file to the latest nightly version and switching to the new version of fuel-rs 0.61. Now, when I try to run the tests, I get the following error:

You can reproduce the problem using the following commands:

git clone   
cd orderbook-contract/  
git checkout testnet  
forc build -v --release  
cargo test 

You need forc >=0.59.0


I’m using 0.60.0

The above reproduction steps don’t cause an issue for me. All the tests pass.

forc was downloaded from the fuel-toolchain.toml:

❯ fuelup show                      
Default host: x86_64-unknown-linux-gnu
fuelup home: /home/segfault_magnet/.fuelup

installed toolchains
custom (default)
nightly-2024-05-27-x86_64-unknown-linux-gnu (override)

active toolchain
nightly-2024-05-27-x86_64-unknown-linux-gnu (override), path: /home/segfault_magnet/orderbook-contract/fuel-toolchain.toml
  forc : 0.60.0+nightly.20240527.d93bb91ab5
    - forc-client
      - forc-deploy : not found
      - forc-run : not found
    - forc-crypto : not found
    - forc-debug : not found
    - forc-doc : not found
    - forc-explore : 0.28.1+nightly.20240527.4bb7392eed
    - forc-fmt : not found
    - forc-lsp : not found
    - forc-tx : not found
    - forc-wallet : 0.7.1+nightly.20240527.8420eb63b6
  fuel-core : 0.26.0+nightly.20240527.8beacf82bf
  fuel-core-keygen : 0.26.0+nightly.20240527.8beacf82bf

Can you try running:
which -a forc
Maybe your PATH is causing a different/older forc to compile it.

(post deleted by author)