JoshOrndorff / substrate-recipes

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

How can I upgrade versions of packages? #492

Open techwizard210 opened 2 years ago

techwizard210 commented 2 years ago

My current substrate node version is 4.0.0-dev. And I am going to add offchain worker function on my current node project. I have added the ocw-demo pallet on pallets folder. And then, when I run the cargo check , I am getting this error.

image

How can I solve this problem? Where can I find the exact version of ocw-demo pallet for substrate version "4.0.0-dev"? Please help me!!!