Error while deploying dapp

Hi there!
Trying to deploy the dapp and forc deploy failing here

forc deploy --url --gas-price 1

Compiled library "core".
  Compiled library "std".
  Compiled contract "wallet".
  Bytecode size is 1484 bytes.
Contract id: 0xdea40d72cfcd621139e2c18c5471f14ac854b1621b57753fadfabc169f2ed864
Please provide the address of the wallet you are going to sign this transaction with:fuel1v3hdp7mpsy3mnsdy4jhwt4yk67n3yqgrn6mt0d4v3wvny2dn7f7sgf3ymm
Error: Provider error: Response errors; Unknown type "ExcludeInput"; Unknown type "ExcludeInput"; Unknown field "resourcesToSpend" on type "Query". Did you mean "coinsToSpend"?; Unknown field "messageId" on type "Message".

This looks like it could be from a version mismatch. Can you check if you are using the beta-1 toolchain as your default by running fuelup show ?


Default host: aarch64-apple-darwin
fuelup home: /Users/alexey/.fuelup

installed toolchains
beta-2-aarch64-apple-darwin (default)

active toolchain
beta-2-aarch64-apple-darwin (default)
  forc : 0.31.1
    - forc-client
      - forc-deploy : 0.31.1
      - forc-run : 0.31.1
    - forc-doc : 0.31.1
    - forc-explore : 0.28.1
    - forc-fmt : 0.31.1
    - forc-lsp : 0.31.1
    - forc-wallet : 0.1.2
  fuel-core : 0.14.1
  fuel-indexer - not found

Thanks for sharing that! You are using the beta-2 toolchain but trying to deploy to the beta-1 network. You can either change the deploy url to beta-2, or use the beta-1 toolchain. You can install that by running fuelup toolchain install beta-1 and set it as your default with fuelup default beta-1.

1 Like

Thanks a lot

1 Like

Awesome! Thanks for letting me know.

I can leave this feedback
It would be cool if the forc prompted the user that he was using the wrong RPC

1 Like

Thanks for sharing. It looks great

1 Like

This is the right code to share you are too good

1 Like

It’s nice that the server is evolving


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