From b495bc199f79d4de052826691cbb74bf09885051 Mon Sep 17 00:00:00 2001 From: Leigh McCulloch <351529+leighmcculloch@users.noreply.github.com> Date: Wed, 13 Mar 2024 07:43:13 +1000 Subject: [PATCH] Add doc qualifying where contractimport is relative to --- soroban-sdk/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/soroban-sdk/src/lib.rs b/soroban-sdk/src/lib.rs index 36a122d09..8348091ec 100644 --- a/soroban-sdk/src/lib.rs +++ b/soroban-sdk/src/lib.rs @@ -242,6 +242,9 @@ pub use soroban_sdk_macros::contracterror; /// Import a contract from its WASM file, generating a client, types, and /// constant holding the contract file. /// +/// The path given is relative to the workspace root, and not the current +/// file. +/// /// Generates in the current module: /// - A `Contract` trait that matches the contracts interface. /// - A `ContractClient` struct that has functions for each function in the