JoshOrndorff / recipes

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

How can I upgrade versions of packages? #492

Open techwizard210 opened 1 year ago

techwizard210 commented 1 year 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!!!