Skip to content

🔥 server: remove crypto ramp and liquidation addresses#1129

Open
mainqueg wants to merge 2 commits into
mainfrom
crypto
Open

🔥 server: remove crypto ramp and liquidation addresses#1129
mainqueg wants to merge 2 commits into
mainfrom
crypto

Conversation

@mainqueg

@mainqueg mainqueg commented Jul 1, 2026

Copy link
Copy Markdown
Member

No description provided.

@changeset-bot

changeset-bot Bot commented Jul 1, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: f0edf76

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@exactly/server Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai

coderabbitai Bot commented Jul 1, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@mainqueg, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 30 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: a1713c07-8dfb-4355-a1ca-e7f2b573bbb7

📥 Commits

Reviewing files that changed from the base of the PR and between ed5f97f and f0edf76.

📒 Files selected for processing (7)
  • .changeset/brave-melons-burn.md
  • .changeset/lucky-otters-drop.md
  • server/api/ramp.ts
  • server/test/api/ramp.test.ts
  • server/test/hooks/bridge.test.ts
  • server/test/utils/bridge.test.ts
  • server/utils/ramps/bridge.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch crypto
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch crypto

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes crypto ramp and liquidation address support from the server, including deleting the getCryptoDepositDetails and getCryptoOfframpDepositDetails functions and cleaning up associated tests. The review feedback suggests a more thorough cleanup: instead of conditionally disabling crypto for new customers based on their creation date, crypto support should be completely removed from the default provider options. This would allow for further simplification, such as removing the created_at field from the customer schema, removing remaining crypto schemas from the query validator, and deleting a redundant changeset.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread server/utils/ramps/bridge.ts
Comment thread server/utils/ramps/bridge.ts
Comment thread server/api/ramp.ts
Comment thread server/api/ramp.ts
Comment thread .changeset/lucky-otters-drop.md

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f0edf766ad

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread server/api/ramp.ts
@codecov

codecov Bot commented Jul 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.31%. Comparing base (ed5f97f) to head (f0edf76).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1129      +/-   ##
==========================================
+ Coverage   72.46%   73.31%   +0.85%     
==========================================
  Files         249      249              
  Lines       10091    10447     +356     
  Branches     3274     3438     +164     
==========================================
+ Hits         7312     7659     +347     
+ Misses       2500     2499       -1     
- Partials      279      289      +10     
Flag Coverage Δ
e2e 70.46% <20.00%> (-2.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

1 participant