Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup for Testnet with installer is not working #3674

Closed
UniMa007 opened this issue Jan 6, 2025 · 2 comments
Closed

Setup for Testnet with installer is not working #3674

UniMa007 opened this issue Jan 6, 2025 · 2 comments

Comments

@UniMa007
Copy link
Contributor

UniMa007 commented Jan 6, 2025

Issue description

I tried to install a v8 testnet node for development testing. However I cannot successfully run the node using the provided installer.sh
There are a few issues, which is why my pull request cannot fix all of them.

Expected behavior

Actual behavior

Not working installer

Steps to reproduce the problem

  1. Login to ubuntu machine
  2. Use cd /root/ && curl -k -o installer.sh https://raw.githubusercontent.com/OriginTrail/ot-node/refs/heads/fix/installer-testnet-branch/installer/installer.sh && chmod +x installer.sh
  3. Run ./installer.sh
  4. Use Testnet, blaze graph, MySQL and only Base Network
  5. Install will fail

Use the changes from my pullrequest and it will work to install.

Then as a followup two new errors will happen:

  1. It tries to update the node to 8.1.2 from v8/release/testnet -> this is fixed by my pull request but needs to be on v6/release/testnet in order to be fixed in the environment.

Specifications

  • Node version:
  • Platform:
  • Node wallet:
  • Node libp2p identity:

Contact details

  • Email:

Error logs

Disclaimer

Please be aware that the issue reported on a public repository allows everyone to see your node logs, node details, and contact details. If you have any sensitive information, feel free to share it by sending an email to tech@origin-trail.com.

@UniMa007
Copy link
Contributor Author

UniMa007 commented Jan 6, 2025

#3675

@UniMa007
Copy link
Contributor Author

UniMa007 commented Jan 6, 2025

This error is fixed..It was my mistake. I had the same wallet configured for operationalWallet and management wallet.
Would be great in the future to create a validation on this in the installer

[2025-01-06 12:40:00] WARN: Unable to decode estimate gas error: Error: Gas estimation for createProfile(adminWallet=0xFe47D9ca372C68084eD4D86A7d815670d29250f0, operationalWallets=[], nodeName=ANG, nodeId=0x516d5a394c634244474a7671774a6e693466765846697964584b366a464d48626745434339685442506854765a36, initialOperatorFee=1) has failed, reason: execution reverted [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (method="estimateGas", transaction={"from":"0xFe47D9ca372C68084eD4D86A7d815670d29250f0","to":"0x13Af909944f34AeF37bf5bEb542Df94fF51c23cD","data":"0xf0f9f5dd000000000000000000000000fe47d9ca372c68084ed4d86a7d815670d29250f000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003414e470000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e516d5a394c634244474a7671774a6e693466765846697964584b366a464d48626745434339685442506854765a36000000000000000000000000000000000000","accessList":null}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.7.2) [2025-01-06 12:40:00] WARN: Unable to create profile. Will retry in 12s. Retries left: 2 on blockchain base:84532. Error: Error: execution reverted [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (method="estimateGas", transaction={"from":"0xFe47D9ca372C68084eD4D86A7d815670d29250f0","to":"0x13Af909944f34AeF37bf5bEb542Df94fF51c23cD","data":"0xf0f9f5dd000000000000000000000000fe47d9ca372c68084ed4d86a7d815670d29250f000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003414e470000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e516d5a394c634244474a7671774a6e693466765846697964584b366a464d48626745434339685442506854765a36000000000000000000000000000000000000","accessList":null}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.7.2) [2025-01-06 12:40:00] DEBUG: createProfile(adminWallet=0xFe47D9ca372C68084eD4D86A7d815670d29250f0, operationalWallets=[], nodeName=ANG, nodeId=0x516d5a394c634244474a7671774a6e693466765846697964584b366a464d48626745434339685442506854765a36, initialOperatorFee=1) estimateGas has failed; Error: Failed to decode custom error data. Error: Error: no matching error (argument="sighash", value="0x44b8ea46", code=INVALID_ARGUMENT, version=abi/5.7.0); RPC: XYZ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants