Apple M1 ARM failed to create chain spec using `polkadot-launch`
brunopgalvao opened this issue · 1 comments
brunopgalvao commented
I ran into an issue where I used the stable-x86_64-apple-darwin
toolchain to compile the binaries which resorted to the following polkadot-launch
error:
🧹 Resolving parachain id...
Wasn't able to read chain spec
âš failed to parse the chain spec
however, when I compile the binaries with stable-aarch64-apple-darwin
polkadot-launch
works. What is interesting is that I can manually create the chain spec using the polkadot binary I compiled with stable-x86_64-apple-darwin
, but polkadot-launch
cannot.
For example sake, here are the two binaries:
$ file polkadot-stable-aarch64-apple-darwin
polkadot-stable-aarch64-apple-darwin: Mach-O 64-bit executable arm64
$ file polkadot-stable-x86_64-apple-darwin
polkadot-stable-x86_64-apple-darwin: Mach-O 64-bit executable x86_64
dzmitry-lahoda commented
I see this from time to time on our linux ci, so just migrate to zombienet seems solution
🧹 Resolving parachain id...
/nix/store/klfvv37kk0ibxyl6fxf7j197lrfg8fc9-polkadot-v0.9.27/bin/polkadot build-spec --chain=rococo-local --disable-default-bootnode
2022-10-10 08:14:14 Building chain spec
âš failed to parse the chain spec