fix: fund from exchange not working at first try#4941
Conversation
🦋 Changeset detectedLatest commit: f31b022 The changes in this PR will be included in the next version bump. This PR includes changesets to release 25 packages
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 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
10 Skipped Deployments
|
There was a problem hiding this comment.
Pull Request Overview
This PR fixes an issue where funding from the exchange failed on the first attempt due to a preset dollar amount of $10. The fix changes the default amount from 10 to 0 in the ExchangeController's initial state.
- Changed default amount from 10 to 0 in ExchangeController state
- Added test coverage to verify the default state
- Exported DEFAULT_STATE constant for testing purposes
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| ExchangeController.ts | Changed default amount from 10 to 0 and exported DEFAULT_STATE constant |
| ExchangeController.test.ts | Added test to verify default state and imported DEFAULT_STATE |
| tall-peaches-clap.md | Added changeset documenting the bug fix |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Coverage Report
File Coverage
|
||||||||||||||||||||||||||||||||||||||||||||
tomiir
left a comment
There was a problem hiding this comment.
adapt the changeset and looks good!
f0e92d1 to
7765800
Compare
Description
Fixed an issue where funding from the exchange had a preset dollar amount causing it to fail on the first attempt
Type of change
Associated Issues
For Linear issues: Closes APKT-xxx
For GH issues: closes #...
Showcase (Optional)
Checklist