Skip to content

Conversation

@webdev403
Copy link
Contributor

Description

When a user selects the Gamma vault and adds liquidity, the system performs two separate liquidity additions:

  1. The first transaction adds liquidity to the Gamma vault.
  2. The second transaction incorrectly adds liquidity to Quickswap instead of Gamma.

Steps to Reproduce

  1. Navigate to the pool page.
  2. Select the Gamma vault as the target liquidity option.
  3. Add liquidity and confirm the transaction.
  4. Observe that liquidity is first added to the Gamma vault.
  5. Notice that a second liquidity addition occurs, this time to Quickswap.

Expected Behavior

  • Liquidity should be added only once to the selected Gamma vault.
  • No unexpected second transaction should occur.

Actual Behavior

  • Liquidity is first added correctly to the Gamma vault.
  • A second transaction occurs, mistakenly adding liquidity to Quickswap.

Possible Causes

  • Incorrect transaction flow triggering two separate liquidity additions.
  • UI or state issue causing a secondary unintended transaction.

Proposed Fix

  • Ensure that liquidity is added only once to the selected vault.
  • Verify the transaction flow logic to prevent redundant transactions.

@vercel
Copy link

vercel bot commented Mar 18, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
interface-v2 ❌ Failed (Inspect) Mar 18, 2025 2:22pm

@sameepsi sameepsi merged commit 43cfa49 into QuickSwap:dev2 Mar 18, 2025
3 of 5 checks passed
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.

2 participants