im trying to deploy contract using the below command
“forc deploy --node-url https://mainnet.fuel.network/v1/graphql”
im gettting the below error reponse
“error: Decode error: Custom { kind: Other, error: “Response errors; Invalid transaction data: Validity(InputInvalidSignature { index: 0 })” }”
please help through
Can you please share the steps to reproduce? what are the steps you are using to sign the txn?
Hey @PrabhatYaadav could you switch to the latest nightly and try deploying the contract again with the --mainnet
flag.
fuelup toolchain install nightly
fuelup default nightly
forc deploy --mainnet
Hi sorry for the late reply Im trying to deploy in mannet for which im using this command “forc deploy --node-url https://mainnet.fuel.network/v1/graphql”
I tried these commands here is the attached screenshot of them
Installed:
- forc 0.66.2
- forc-wallet 0.11.0
- fuel-core 0.40.0
- fuel-core-keygen 0.40.0
hey @PrabhatYaadav, I tried the commands locally and was able to do that
Can you try using the latest toolchain instead?
fuelup toolchain install latest
fuelup default latest
forc deploy --mainnet
this is my output for the fuelup show
Default host: aarch64-apple-darwin
fuelup home: /Users/nazeeh/.fuelup
Installed toolchains
--------------------
latest-aarch64-apple-darwin (default)
active toolchain
----------------
latest-aarch64-apple-darwin (default)
forc : 0.66.1
- forc-client
- forc-deploy : 0.66.1
- forc-run : 0.66.1
- forc-crypto : 0.66.1
- forc-debug : 0.66.1
- forc-doc : 0.66.1
- forc-fmt : 0.66.1
- forc-lsp : 0.66.1
- forc-tx : 0.66.1
- forc-wallet : 0.11.0
fuel-core : 0.40.0
fuel-core-keygen : 0.40.0
fuels versions
--------------
forc : 0.66.9
forc-wallet : 0.66.9
Hi can you share your fuel-toolchain.toml file details here mine is
[toolchain]
channel = “nightly-2024-05-28”
[components]
forc = “0.60.0”
fuel-core = “0.26.0”
this is my fuelup show
Default host: aarch64-apple-darwin
fuelup home: /Users/apple/.fuelup
Installed toolchains
latest-aarch64-apple-darwin (default)
nightly-aarch64-apple-darwin
latest-x86_64-apple-darwin
nightly-2024-01-24-x86_64-apple-darwin
nightly-2024-05-28-x86_64-apple-darwin
nightly-2024-10-20-x86_64-apple-darwin
nightly-2024-10-22-x86_64-apple-darwin
nightly-x86_64-apple-darwin
active toolchain
latest-aarch64-apple-darwin (default)
forc : 0.63.5
- forc-client
- forc-deploy : 0.63.5
- forc-run : 0.63.5
- forc-crypto : 0.63.5
- forc-debug : 0.63.5
- forc-doc : 0.63.5
- forc-fmt : 0.63.5
- forc-lsp : 0.63.5
- forc-tx : 0.63.5
- forc-wallet : 0.9.0
fuel-core : 0.40.0
fuel-core-keygen : 0.40.0
fuels versions
forc : 0.66.4
forc-wallet : 0.66.0
hey got the contract deployed!!!
this command “fuelup toolchain install latest” wasn’t reflecting then i created a new project example “forc new my-fuel-project” then updated to “fuelup toolchain install latest” cmd it worked fine.
thanks for the support @Nazeeh21 and @rishabhkeshan !!
Hey @PrabhatYaadav glad to know it worked, you were using an older nightly version in your toolchain file, hence the issue.
yes it was thanks for the support!!!
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.