JoshOrndorff / recipes

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

master can't build locally #370

Closed herou closed 3 years ago

herou commented 3 years ago

Hello,

I got the latest commit from master and I am executing: cargo build but it fails

image

It seems a problem with the grandpa wasm

wheresaddie commented 3 years ago

@jimmychu0807 any ideas?

JoshOrndorff commented 3 years ago

The build is working for me and also passing CI, so I don't think this is an issue with the code in the repo.

That error sounds like you don't have the wasm of the minimal grandpa runtime. Cargo should be smart enough to build it for you if you don't have it unless something got manually deleted. I wonder if it would help if you ran cargo clean then cargo build again. The one thing that sucks about that is that you'll have to recompile everything from scratch which can take a while.

jimmychu0807 commented 3 years ago

@herou, Recipe compiled successfully in my mac, and I hope Joshy instructions help you get the compilation going. If not, could you type rustup show in your machine, and let me know what the output is.

herou commented 3 years ago

This time went through :)