From 411fd206d844736214809ed84aa79e4eaeb6c9e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dj8yf0=CE=BCl?= Date: Tue, 5 Nov 2024 23:40:04 +0200 Subject: [PATCH] fix: add .no_locked(true) to build scripts config (status-message dep) --- examples/factory-contract/high-level/build.rs | 1 + examples/factory-contract/low-level/build.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/factory-contract/high-level/build.rs b/examples/factory-contract/high-level/build.rs index 840874aa4..ed30ff09d 100644 --- a/examples/factory-contract/high-level/build.rs +++ b/examples/factory-contract/high-level/build.rs @@ -15,6 +15,7 @@ fn main() -> Result<(), Box> { let build_opts = BuildOpts::builder() .manifest_path(manifest) + .no_locked(true) .override_nep330_contract_path(nep330_contract_path) // a distinct target is needed to avoid deadlock during build .override_cargo_target_dir("../target/build-rs-status-message-for-high-level-factory") diff --git a/examples/factory-contract/low-level/build.rs b/examples/factory-contract/low-level/build.rs index 86b2d5fae..22f491719 100644 --- a/examples/factory-contract/low-level/build.rs +++ b/examples/factory-contract/low-level/build.rs @@ -14,6 +14,7 @@ fn main() -> Result<(), Box> { let build_opts = BuildOpts::builder() .manifest_path(manifest) + .no_locked(true) .override_nep330_contract_path(nep330_contract_path) // a distinct target is needed to avoid deadlock during build .override_cargo_target_dir("../target/build-rs-status-message-for-low-level-factory")