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: ignore dust underflows in order fills rpc #5352

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

dandanlen
Copy link
Collaborator

chore: more consistent params

This was causing lp apis to crash, we avoid it by saturating the calculation.

@dandanlen dandanlen force-pushed the fix/ignore-dust-underflow-main branch from 80591ac to 99f04b4 Compare October 24, 2024 13:56
Copy link

codecov bot commented Oct 24, 2024

Codecov Report

Attention: Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.

Project coverage is 71%. Comparing base (dc8bf3e) to head (99f04b4).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
state-chain/custom-rpc/src/order_fills.rs 0% 8 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##            main   #5352    +/-   ##
======================================
- Coverage     71%     71%    -0%     
======================================
  Files        495     495            
  Lines      86335   86206   -129     
  Branches   86335   86206   -129     
======================================
- Hits       61623   61435   -188     
- Misses     21951   22009    +58     
- Partials    2761    2762     +1     

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

@kylezs kylezs added this pull request to the merge queue Oct 24, 2024
Merged via the queue into main with commit 1bf4d90 Oct 24, 2024
48 of 49 checks passed
@kylezs kylezs deleted the fix/ignore-dust-underflow-main branch October 24, 2024 15:46
syan095 added a commit that referenced this pull request Oct 29, 2024
…waps-close-accounts

* origin/main: (44 commits)
  fix: expire all previous epochs (#5279)
  feat: add/update contract swaps parameters (#5343)
  chore: add address to solana logging (#5353)
  fix: ignore dust underflows in order fills rpc (#5352)
  chore: consistent naming prewitnessed (#5351)
  feat: engine-runner verifies gpg signature of old dylib when downloaded (#5339)
  feat: tainted transaction reporting (#5310)
  bug: change_utxo not always present (#5340)
  feat: structured error return types for rpcs (#5346)
  chore: unify dependencies to root cargo.toml (#5333)
  feat: Submit a slot number alongside nonce (#5297)
  chore: use node version from `.nvmrc` 📌 (#5336)
  chore: add engine account_info logging (#5347)
  chore: replace manual scale encoding for ts-scale (#5335)
  chore: more consistent params in Broker API (#5342)
  feat: broker can encode btc smart contract call (#5329)
  chore: localnet recreate script can use defaults (#5338)
  feat: witnessing btc smart contract swaps (#5331)
  feat: Solana CCM fallback (#5316)
  fix: scale types for pending ceremonies (#5286)
  ...

# Conflicts:
#	Cargo.lock
#	state-chain/chains/src/sol/api.rs
#	state-chain/pallets/cf-broadcast/src/migrations.rs
#	state-chain/pallets/cf-environment/Cargo.toml
dandanlen added a commit that referenced this pull request Oct 30, 2024
dandanlen added a commit that referenced this pull request Oct 30, 2024
dandanlen added a commit that referenced this pull request Oct 31, 2024
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.

3 participants