Skip to content

Updated liquidity_pool Cargo.toml to include emergency_guard dependency#271

Open
aabxtract wants to merge 2 commits into
SoroLabs:mainfrom
aabxtract:main
Open

Updated liquidity_pool Cargo.toml to include emergency_guard dependency#271
aabxtract wants to merge 2 commits into
SoroLabs:mainfrom
aabxtract:main

Conversation

@aabxtract
Copy link
Copy Markdown

Description

This PR fixes a workspace dependency resolution issue by properly registering the newly created emergency_guard crate. While the crate was correctly specified as a dependency in the liquidity_pool contract, it was missing from the root workspace configuration, which prevented proper workspace-level builds and lockfile resolution.

Closes #207

Changes Made

  • Added "contracts/emergency_guard" to the members array in the root Cargo.toml.

Why is this needed?

Adding new contracts to the Cargo workspace members array ensures they are included in workspace-wide commands (like cargo check, cargo build, and cargo test). It also ensures they share the unified Cargo.lock file, which is required for the liquidity_pool contract to correctly resolve the local path = "../emergency_guard" dependency.

How to Test

  1. Run cargo check at the workspace root to confirm all crates, including emergency_guard and liquidity_pool, resolve without errors.
  2. Run cargo build -p liquidity_pool to verify the contract compiles successfully with the new dependency.

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 27, 2026

@aabxtract Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Contracts: Update liquidity_pool Cargo.toml to include emergency_guard dependency

1 participant