-
Notifications
You must be signed in to change notification settings - Fork 235
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: deprecate v1 swap amountReference to #1851
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
37921d4
to
fb0eee8
Compare
fb0eee8
to
05d3ab1
Compare
05d3ab1
to
b2616af
Compare
b2616af
to
0bdce99
Compare
@@ -14,7 +16,7 @@ vi.mock('../network/request'); | |||
|
|||
const testFromAddress = '0x6Cd01c0F55ce9E0Bf78f5E90f72b4345b16d515d'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const testFromAddress = '0x6Cd01c0F55ce9E0Bf78f5E90f72b4345b16d515d'; | |
const testFromAddress: Address = '0x6Cd01c0F55ce9E0Bf78f5E90f72b4345b16d515d'; |
it('should return an error for an unsupported amount reference', async () => { | ||
const mockParams = { | ||
useAggregator: true, | ||
fromAddress: testFromAddress as `0x${string}`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fromAddress: testFromAddress as `0x${string}`, | |
fromAddress: testFromAddress, |
@@ -30,6 +30,7 @@ export function BuyAmountInput() { | |||
)} | |||
placeholder="0.0" | |||
delayMs={1000} | |||
inputMode="decimal" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sets the Buy component to use the number keypad on mobile devices
4fca36f
to
5b9528c
Compare
5b9528c
to
3d34cd3
Compare
What changed? Why?
Notes to reviewers
How has it been tested?