Git Product home page Git Product logo

Comments (4)

JoshOrndorff avatar JoshOrndorff commented on July 27, 2024 1

This is probably because your chain spec file contains one boot node address, but your bootnode itself advertises a different one. For this tutorial, there should not be any bootnodes in your chainspec file.

Please open your customSpecRaw.json file and look for a line like this near the top.

"bootNodes": [],

If that list contains an actual bootnode, please remove it, and try again.

If you followed the tutorial exactly you shouldn't end up in this situation because https://www.substrate.io/tutorials/start-a-private-network/v2.0.0-rc2/customspec#create-a-chain-specification says to generate your custom spec using this command.

# Export the local chainspec to json
$ ./target/release/node-template build-spec --disable-default-bootnode --chain local > customSpec.json

When you include --disable-default-bootnode as demonstrated, your spec file does not include that bootnode address.

from substrate-node-template.

harsh-98 avatar harsh-98 commented on July 27, 2024 1

Yup, thanks.

from substrate-node-template.

VikXNebu avatar VikXNebu commented on July 27, 2024

Hi, I do have similar issue with the following error:
error: Invalid value for '--bootnodes ...': invalid multiaddr

Can assist on this issue?

Thank you

from substrate-node-template.

danforbes avatar danforbes commented on July 27, 2024

Can you describe what are you doing when you encounter this error? Were you working with chain specs? If so, how did you generate them?

from substrate-node-template.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.