Fuel testnet node startup problem

/root/.fuelup/bin/fuelup show
Default host: x86_64-unknown-linux-gnu
fuelup home: /root/.fuelup
Installed toolchains

latest-x86_64-unknown-linux-gnu (default)
nightly-x86_64-unknown-linux-gnu
active toolchain

latest-x86_64-unknown-linux-gnu (default)
forc : 0.62.0
- forc-client
- forc-deploy : 0.62.0
- forc-run : 0.62.0
- forc-crypto : 0.62.0
- forc-debug : 0.62.0
- forc-doc : 0.62.0
- forc-fmt : 0.62.0
- forc-lsp : 0.62.0
- forc-tx : 0.62.0
- forc-wallet : 0.8.2
fuel-core : 0.31.0
fuel-core-keygen : 0.31.0
fuels versions

forc : 0.65.1
forc-wallet : 0.65.0

Hello,

I installed the latest version of fuelup and I currently have an error when starting the fuel testnet node :

Error: an error occurred while loading the chain state file: Some(“/root/fuel/chain-configuration/ignition/chain_config.json”) Caused by: unknown variant PoAV2, expected PoA at line 267 column 11.

This is my node start command:
.fuelup/bin/fuel-core run
–service-name=fuel-sepolia-testnet-node
–keypair xxxx
–relayer https://eth-sepolia.g.alchemy.com/v2/xxxxx
–ip=0.0.0.0 --port=4000 --peering-port=30333
–db-path=/root/fuel/.fuel-sepolia-testnet
–snapshot /root/fuel/chain-configuration/ignition
–utxo-validation --poa-instant false --enable-p2p
–reserved-nodes /dns4/p2p-testnet.fuel.network/tcp/30333/p2p/16Uiu2HAmDxoChB7AheKNvCVpD4PHJwuDGn8rifMBEHmEynGHvHrf
–sync-header-batch-size 100
–enable-relayer
–relayer-v2-listening-contracts=0x01855B78C1f8868DE70e84507ec735983bf262dA
–relayer-da-deploy-height=5827607
–relayer-log-page-size=500
–sync-block-stream-buffer-size 30
Restart=always

Do you know what is the cause of this error?

Thank you.

Try this: Chane fuelup update command to extract new chain config which is v0.33 upgrade so that testnet node runs smoothly - #6 by amit-katyal

Hey @Armand, can you please run fuelup update to update your toolchain and it will download fuel-core v0.34.0. Please follow these steps and you should be good to go.

fuelup self update
fuelup update
fuelup default latest

Also, make sure to update the chain config locally and use the latest one

1 Like

I have performed the operations that you indicated and I still have the same error. I have the latest version of the config.json file.

root@xf123:~# /root/.fuelup/bin/fuelup self update
Already up to date (fuelup v0.26.0)
root@xf123:~# /root/.fuelup/bin/fuelup self update
Already up to date (fuelup v0.26.0)
root@xf123:~# /root/.fuelup/bin/fuelup default latest
Default toolchain set to ‘latest-x86_64-unknown-linux-gnu’

ERROR:
Error: an error occurred while loading the chain state file: Some(“/root/fuel/chain-configuration/ignition/chain_config.json”)
Caused by:
unknown variant PoAV2, expected PoA at line 267 column 11
fuel-node.service: Main process exited, code=exited, status=1/FAILURE

It seems that it is this part of the config.json file that is causing the problem:

“consensus”: {
“PoAV2”: {
“genesis_signing_key”: “e8df6d432b2584a3ea9d0badf297c3b525bae71b577d22c1ccc12519adb64d92”,
“signing_key_overrides”: {
“7625610”: “d9173046b109cc24dfa1099d3c48d8b8b810e3279344cfc3d2bd13149e18c402”
}
}
}

Thank you.

Can you share your what OS are you on? and also an outpu† for the command fuelup show

FYI, second command should be fuelup update and not fuelup self update

I just retested the 3 commands with the correct syntax and it works. I no longer have any errors. Thank you.

I have one last question, why launching the installation command (curl https://install.fuel.network | sh) does not allow you to install the latest version of fuelup.

Thank you.

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