JoshOrndorff / recipes

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

randomness cargo test error #399

Closed honeywest closed 3 years ago

honeywest commented 3 years ago

substrate-developer-hub/recipes/pallets/randomness$ cargo test Updating git repository https://github.com/encointer/substrate-fixed.git Compiling sp-api v2.0.0 error[E0432]: unresolved import sp_core::to_substrate_wasm_fn_return_value --> ~/.cargo/registry/src/github.com-1ecc6299db9ec823/sp-api-2.0.0/src/lib.rs:54:9 | 54 | pub use sp_core::to_substrate_wasm_fn_return_value; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no to_substrate_wasm_fn_return_value in the root

error: aborting due to previous error

For more information about this error, try rustc --explain E0432. error: could not compile sp-api

To learn more, run the command again with --verbose.