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

Not able to generate chain_spec #242

Closed
ayushmishra2005 opened this issue Sep 17, 2021 · 5 comments
Closed

Not able to generate chain_spec #242

ayushmishra2005 opened this issue Sep 17, 2021 · 5 comments
Assignees

Comments

@ayushmishra2005
Copy link

I am getting below error after following https://substrate.dev/cumulus-workshop/#/en/1-prep/2-chain-spec?id=generate-a-plain-chain-spec. I am using Mac M1.

ayushkumarmishra@Ayushs-MacBook-Pro polkadot % ./target/release/polkadot build-spec --chain rococo-local --disable-default-bootnode > rococo-custom-2-plain.json
zsh: illegal hardware instruction  ./target/release/polkadot build-spec --chain rococo-local  > 

Can someone help me to fix this?

@ordian
Copy link
Member

ordian commented Sep 17, 2021

Make sure to compile the binary using the native toolchain: paritytech/polkadot#3482

@nuke-web3
Copy link
Contributor

@ayushmishra2005 I see that the linked issue should solve your problem, yes? If not, please let's reopen this issue.

@nuke-web3 nuke-web3 self-assigned this Sep 21, 2021
@nuke-web3 nuke-web3 transferred this issue from paritytech/polkadot Sep 21, 2021
@ayushmishra2005
Copy link
Author

@nukemandan Its not solved yet. Could you please reopen it?

@nuke-web3
Copy link
Contributor

Did you try the steps outlined?

@ayushmishra2005
Copy link
Author

Yes @nukemandan It worked after following below steps

rustup install stable-aarch64-apple-darwin
rustup default stable-aarch64-apple-darwin

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

3 participants