Andrei Băncioiu
Andrei Băncioiu
Thank you, we will check using the provided repository, and return with an answer :pray: `mxpy contract test` never runs Rust tests (yet, in the current version): https://github.com/multiversx/mx-sdk-py-cli/blob/main/multiversx_sdk_cli/projects/project_base.py#L138
We've reproduced the issue with the provided code, thank you! While `cargo test` gives an error (actually, a panic): ``` test staking_rs ... FAILED failures: ---- staking_rs stdout ---- thread...
Workaround: run `sudo apt-get install pkg-config libssl-dev` (on Ubuntu).
More detailed error message (for future reference): ``` error: failed to run custom build command for `openssl-sys v0.9.93` Caused by: process didn't exit successfully: (...) "--cflags" "openssl"` The pkg-config command...