Can you share the full steps to reproduce this?
- sudo apt-get update && sudo apt-get install -y && apt install curl -y && apt install git -y
- curl --proto ‘=https’ --tlsv1.2 -sSf https://install.fuel.network/fuelup-init.sh | sh
- export PATH=“${HOME}/.fuelup/bin:${PATH}”
- curl --proto ‘=https’ --tlsv1.2 -sSf https://sh.rustup.rs | sh
- source “$HOME/.cargo/env”
- mkdir fuel && cd fuel
- forc new counter-contract
- vim counter-contract/src/main.sw
- I’m changing contract: contract;
storage {
counter: u64 = 0,
}
abi Counter {
#[storage(read, write)]
fn increment();
#[storage(read)]
fn count() -> u64;
}
impl Counter for Contract {
#[storage(read)]
fn count() → u64 {
storage.counter
}
#[storage(read, write)]
fn increment() {
storage.counter = storage.counter + 1;
}
}
10. cd fuel
11. fuelup self update
12. fuelup toolchain install beta-3
13. fuelup default beta-3
14. fuelup component add forc@0.35.3
15. forc deploy --node-url beta-3.fuel.network/graphql --gas-price 1 --random-salt
16. cd fuel/counter-contract
17. export PATH=“${HOME}/.fuelup/bin:${PATH}”
18. forc-wallet account 0 sign tx-id
19. forc deploy --node-url beta-3.fuel.network/graphql --gas-price 1 --random-salt
What are the steps you are using to sign the tx though?
forc deploy --node-url beta-3.fuel.network/graphql --gas-price 1 --random-salt
here I put my fuel address, next two times pressed enter
and here I put the transaction id from the command above
Are you using this command to sign the tx?
forc wallet sign --account <ACCOUNT_INDEX> tx-id <TX_ID_HERE>
where can I get <ACCOUNT_INDEX>?
You can use forc-wallet accounts
to list your accounts and their index
yes I signed with this command and still same problem.
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.