Giter Club home page Giter Club logo

Comments (6)

liamaharon avatar liamaharon commented on June 14, 2024 2

Thanks @Tidus91 for bringing this up!

The substrate.io docs are open source. I've added a mentor label to this issue, it would be great if someone was to open a PR to fix it :)

https://github.com/substrate-developer-hub/substrate-docs/blob/main/content/md/en/docs/tutorials/build-a-blockchain/simulate-network.md

from substrate.

ggwpez avatar ggwpez commented on June 14, 2024 1

You can replace <T as Config>::BlockNumber with frame_system::pallet_prelude::BlockNumberFor<T>. It was changed here #14437

from substrate.

Tidus91 avatar Tidus91 commented on June 14, 2024

I think there is also a bug at the following of the tutorial with the command --SURI , it's not taking a string

from substrate.

Tidus91 avatar Tidus91 commented on June 14, 2024

Also an other bug here :
bugSubstrate3

got this error message : error[E0220]: associated type BlockNumbernot found forT``

from substrate.

danisvice avatar danisvice commented on June 14, 2024

RE: error: the argument '--rpc-port <PORT>' cannot be used multiple times

Add && after the primary --rpc-port options
Run these commands & it should work:

Alice node:

./target/release/node-template \
--base-path /tmp/alice \
--chain local \
--alice \
--port 30333 \
--rpc-port 9945 && \
--rpc-port 9933 \
--node-key 0000000000000000000000000000000000000000000000000000000000000001 \
--telemetry-url "wss://telemetry.polkadot.io/submit/ 0" \
--validator

Bob node:

./target/release/node-template \
--base-path /tmp/bob \
--chain local \
--bob \
--port 30334 \
--rpc-port 9946 && \
--rpc-port 9934 \
--telemetry-url "wss://telemetry.polkadot.io/submit/ 0" \
--validator \
--bootnodes /ip4/127.0.0.1/tcp/30333/p2p/12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp

from substrate.

Tidus91 avatar Tidus91 commented on June 14, 2024

Also an other bug here : bugSubstrate3

got this error message : error[E0220]: associated type BlockNumbernot found forT``

By any chances, do you have a fix for this bug ?
because it is blocking the following of the tutorial

from substrate.

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.