Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

bad chain spec parsing #2609

Closed
xlc opened this issue May 22, 2023 · 0 comments · Fixed by #2611
Closed

bad chain spec parsing #2609

xlc opened this issue May 22, 2023 · 0 comments · Fixed by #2611

Comments

@xlc
Copy link
Contributor

xlc commented May 22, 2023

using master ba8f89b

$ cargo run --bin polkadot-parachain -- --tmp --chain parachains/chain-specs/statemint.json
⚡ Found 3 strongly connected components which includes at least one cycle each
cycle(001) ∈ α: ApprovalVoting ~~{"DisputeCoordinatorMessage"}~~> DisputeCoordinator ~~{"ApprovalVotingMessage"}~~>  *
cycle(002) ∈ β: CandidateBacking ~~{"ProvisionerMessage"}~~> Provisioner ~~{"CandidateBackingMessage"}~~>  *
cycle(003) ∈ γ: NetworkBridgeRx ~~{"GossipSupportMessage"}~~> GossipSupport ~~{"NetworkBridgeRxMessage"}~~>  *
    Finished dev [unoptimized + debuginfo] target(s) in 0.63s
warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
     Running `target/debug/polkadot-parachain --tmp --chain parachains/chain-specs/statemint.json`
Error: Input("Error parsing spec file: unknown protocol string:  at line 31 column 3")
$ cargo run --bin polkadot-parachain -- --tmp --chain statemint                            
⚡ Found 3 strongly connected components which includes at least one cycle each
cycle(001) ∈ α: ApprovalVoting ~~{"DisputeCoordinatorMessage"}~~> DisputeCoordinator ~~{"ApprovalVotingMessage"}~~>  *
cycle(002) ∈ β: CandidateBacking ~~{"ProvisionerMessage"}~~> Provisioner ~~{"CandidateBackingMessage"}~~>  *
cycle(003) ∈ γ: NetworkBridgeRx ~~{"GossipSupportMessage"}~~> GossipSupport ~~{"NetworkBridgeRxMessage"}~~>  *
    Finished dev [unoptimized + debuginfo] target(s) in 0.62s
warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
     Running `target/debug/polkadot-parachain --tmp --chain statemint`
Error: Input("Error parsing spec file: unknown protocol string:  at line 31 column 3")

tried on 0.9.42 branch and that's working

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

Successfully merging a pull request may close this issue.

1 participant