Contracts: Update read_sandbox (#1390)

* Update runtime.rs

* Fix

* Revert "Update runtime.rs"

This reverts commit 808f026a835b1f2707f640799454a50fd3a8be7b.

* nit mono-repo fixes
This commit is contained in:
PG Herveou
2023-09-04 21:33:20 +02:00
committed by GitHub
parent 01cdae878d
commit 076529ea55
3 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -564,7 +564,9 @@ where
{
let fixture_path = [
// When `CARGO_MANIFEST_DIR` is not set, Rust resolves relative paths from the root folder
std::env::var("CARGO_MANIFEST_DIR").as_deref().unwrap_or("frame/contracts"),
std::env::var("CARGO_MANIFEST_DIR")
.as_deref()
.unwrap_or("substrate/frame/contracts"),
"/fixtures/",
fixture_name,
".wat",