Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove bounded balance check #4575

Merged
merged 1 commit into from
Feb 27, 2024
Merged

Conversation

kylezs
Copy link
Contributor

@kylezs kylezs commented Feb 27, 2024

The bounds are too tight, and we can't exactly predict the fees - this code is unit tested anyway. This test is more for testing the e2e flow a broker might take, rather than specific tight balances.

@kylezs kylezs force-pushed the fix/remove-specific-balance-check branch from ee0c9ba to 2ead207 Compare February 27, 2024 15:10
@kylezs kylezs enabled auto-merge (squash) February 27, 2024 15:16
Copy link

codecov bot commented Feb 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73%. Comparing base (11a5e0a) to head (2ead207).

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #4575   +/-   ##
=====================================
  Coverage     73%     73%           
=====================================
  Files        401     401           
  Lines      66763   66763           
  Branches   66763   66763           
=====================================
  Hits       48429   48429           
- Misses     15987   15988    +1     
+ Partials    2347    2346    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kylezs kylezs merged commit a52d476 into main Feb 27, 2024
43 checks passed
@kylezs kylezs deleted the fix/remove-specific-balance-check branch February 27, 2024 15:39
syan095 added a commit that referenced this pull request Feb 28, 2024
…ero-liquidity

* origin/main:
  fix: disable try-state checks (#4576)
  chore: debug solana in CI 🐛 (#4580)
  refactor: pass tx_ref as an extrinsic parameter (#4579)
  fix: remove bounded balance check (#4575)
  Solana: update image to latest tag (#4574)
  feat: add boost lp account to bouncer and fund it on setup_swaps (#4552)
  feat: Expose tx_hash on BroadcastSuccess event (#4561)
  feat: Relative Slippage Limits (PRO-1207) (#4547)
  chore: disable localnet solana in CI ⏱️ (#4569)
  feat: store prewitnessed deposits with id (#4496)
  Feat: Scheduled Swaps Subscription (#4525)

# Conflicts:
#	state-chain/pallets/cf-pools/src/tests.rs
syan095 added a commit that referenced this pull request Feb 29, 2024
…utxo

* origin/main:
  feat: expose command for broker fee withdrawal (#4581)
  Chore/fix arbitrum deployment (#4570)
  Added Range order pool price to the pool_price_v2 rpc call (#4548)
  fix: just check that the balance after is greater than before (#4587)
  chore: add origin to ccm failed (#4586)
  fix: runtime upgrade state check uses AllPalletsWithoutSystem (#4583)
  chore: add zellic audit to repo (#4585)
  fix: disable try-state checks (#4576)
  chore: debug solana in CI 🐛 (#4580)
  refactor: pass tx_ref as an extrinsic parameter (#4579)
  fix: remove bounded balance check (#4575)
  Solana: update image to latest tag (#4574)
  feat: add boost lp account to bouncer and fund it on setup_swaps (#4552)
  feat: Expose tx_hash on BroadcastSuccess event (#4561)
  feat: Relative Slippage Limits (PRO-1207) (#4547)
  chore: disable localnet solana in CI ⏱️ (#4569)
  feat: store prewitnessed deposits with id (#4496)
  Feat: Scheduled Swaps Subscription (#4525)
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