Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when testing emergency shutdown pallet with all features #105

Closed
ETeissonniere opened this issue May 8, 2020 · 0 comments · Fixed by #143
Closed

Error when testing emergency shutdown pallet with all features #105

ETeissonniere opened this issue May 8, 2020 · 0 comments · Fixed by #143
Labels
bug Something isn't working help wanted Extra attention is needed
Projects

Comments

@ETeissonniere
Copy link
Member

Describe the bug

Compile error when testing emergency shutdown's benchmarks in a standalone manner.

To Reproduce

Steps to reproduce the behavior:

$ cargo test --all-features -p pallet-emergency-shutdown
   Compiling sp-api v2.0.0-alpha.7
error[E0432]: unresolved import `sp_core::to_substrate_wasm_fn_return_value`
  --> /Users/eliottteissonniere/.cargo/registry/src/github.com-1ecc6299db9ec823/sp-api-2.0.0-alpha.7/src/lib.rs:53:9
   |
53 | 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.

Expected behavior

We shouldn't have this error!

@ETeissonniere ETeissonniere added bug Something isn't working good first issue Good for newcomers labels May 8, 2020
@ETeissonniere ETeissonniere added this to To do in Blockchain via automation May 8, 2020
@ETeissonniere ETeissonniere added help wanted Extra attention is needed and removed good first issue Good for newcomers labels May 8, 2020
@ETeissonniere ETeissonniere mentioned this issue May 8, 2020
9 tasks
Blockchain automation moved this from To do to Done May 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
No open projects
Blockchain
  
Done
Development

Successfully merging a pull request may close this issue.

1 participant