JoshOrndorff / recipes

A Hands-On Cookbook for Aspiring Blockchain Chefs
GNU General Public License v3.0
378 stars 186 forks source link

bugs at first run #496

Closed dragonfly62 closed 1 year ago

dragonfly62 commented 1 year ago

iner | yarn run v1.22.19 miner | $ node miner.js --host node miner | Error: connect ECONNREFUSED 172.18.0.2:9933 miner | Error: connect ECONNREFUSED 172.18.0.2:9933 miner | Error: connect ECONNREFUSED 172.18.0.2:9933 miner | Error: connect ECONNREFUSED 172.18.0.2:9933 miner | Error: connect ECONNREFUSED 172.18.0.2:9933 node | node | ==================== node | node | Version: 3.0.0-unknown-x86_64-linux-gnu node | node | 0: sp_panic_handler::set::{{closure}} node | 1: std::panicking::rust_panic_with_hook node | at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:702:17 node | 2: std::panicking::begin_panic_handler::{{closure}} node | at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:586:13 node | 3: std::sys_common::backtrace::rust_end_short_backtrace node | at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 node | 4: rust_begin_unwind node | at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 node | 5: core::panicking::panic_fmt node | at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 node | 6: <pallet_validator_set::pallet::GenesisConfig as frame_support::traits::hooks::GenesisBuild>::build node | 7: std::thread::local::LocalKey::with node | 8: sp_state_machine::basic::BasicExternalities::execute_with_storage node | 9: ::assimilate_storage node | 10: sp_runtime::BuildStorage::build_storage node | 11: <sc_chain_spec::chain_spec::ChainSpec<G,E> as sp_runtime::BuildStorage>::build_storage node | 12: sc_service::client::client::Client<B,E,Block,RA>::new node | 13: sc_service::builder::new_full_parts node | 14: poscan_consensus::service::new_partial node | 15: poscan_consensus::service::new_full node | 16: <core::future::from_generator::GenFuture as core::future::future::Future>::poll node | 17: tokio::park::thread::CachedParkThread::block_on node | 18: tokio::runtime::Runtime::block_on node | 19: sc_cli::runner::Runner::run_node_until_exit node | 20: poscan_consensus::command::run node | 21: poscan_consensus::main node | 22: std::sys_common::backtrace::rust_begin_short_backtrace node | 23: std::rt::lang_start::{{closure}} node | 24: core::ops::function::impls::<impl core::ops::function::FnOnce for &F>::call_once node | at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:259:13 node | std::panicking::try::do_call node | at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 node | std::panicking::try node | at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 node | std::panic::catch_unwind node | at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 node | std::rt::lang_start_internal::{{closure}} node | at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/rt.rs:128:48 node | std::panicking::try::do_call node | at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 node | std::panicking::try node | at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 node | std::panic::catch_unwind node | at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 node | std::rt::lang_start_internal node | at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/rt.rs:128:20 node | 25: main node | 26: node | 27: __libc_start_main node | 28: _start node | node | node | Thread 'main' panicked at 'Initial set of validators must be at least T::MinAuthorities', /app/pallets/validator-set/src/lib.rs:445 node | node | This is a bug. Please report it at: node | node | https://github.com/substrate-developer-hub/recipes/issues

JoshOrndorff commented 1 year ago

iner | yarn run v1.22.19 miner | $ node miner.js --host node

What are you trying to run? Is this code related to the recipes? I suspect someone copied recipe code into their ow nproject and forgot to change the issue reporting link.

Also FYI the recipes aren't really that well maintained anymore, but I'll still help if I can.

dragonfly62 commented 1 year ago

was trying to run the node ans the miner as per the procedure using docker (i.e. docker compose build docker compose up) why do you mean by recipes ? btw i installed manually the node ( next procedure in the list) and it is working ok

JoshOrndorff commented 1 year ago

why do you mean by recipes

This repo is the Substrate recipes. It doesn't mention docker compose at all.