diff --git a/runtime/integration-tests/src/generic/utils/evm.rs b/runtime/integration-tests/src/generic/utils/evm.rs index 48a7cbb188..4f662322df 100644 --- a/runtime/integration-tests/src/generic/utils/evm.rs +++ b/runtime/integration-tests/src/generic/utils/evm.rs @@ -15,8 +15,12 @@ use sp_runtime::traits::Get; use crate::generic::{config::Runtime, utils::ESSENTIAL}; /// Liquidity-Pool solidity artifacts generated by build-script. -/// All needed contracts can be loaded from here -pub const LP_SOL_SOURCES: &str = env!("LP_SOL_SOURCES", "Build script failed to populate environment variable LP_SOL_SOURCES pointing to missing solidity source files in the 'target/*/build/integration-tests*/out' directory."); +/// All needed contracts can be loaded from here. +/// +/// This panics if the solidity contracts were not built properly. This can +/// happen if the submodule was not pulled or the forge cli has not been +/// installed locally. +pub const LP_SOL_SOURCES: &str = env!("LP_SOL_SOURCES", "Build script failed to populate environment variable LP_SOL_SOURCES pointing to missing solidity source files in the 'target/*/build/integration-tests*/out' directory required for EVM integration tests.\n\nPlease check if you have pulled the 'liquidity-pools' submodule via `git pull --recurse-submodules` and if you have installed the forge cli, e.g. check `forge -V`."); #[derive(Clone, Debug, PartialEq)] pub struct DeployedContractInfo {