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

[SWAPS V2]: Adjust asset types + utils to match BX #5538

Merged
merged 9 commits into from
Mar 21, 2024

Conversation

walmat
Copy link
Contributor

@walmat walmat commented Mar 19, 2024

Fixes APP-####

What changed (plus any additional context for devs)

Screen recordings / screenshots

What to test

Copy link

linear bot commented Mar 19, 2024

@walmat walmat marked this pull request as ready for review March 19, 2024 20:12
volume1d: number;
};

export type UniqueId = `${Address}_${ChainId}`;
Copy link
Contributor

Choose a reason for hiding this comment

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

getting war flashbacks here, kind of a nbd if contained to swaps but testy about having too patterns here

src/__swaps__/screens/Swap/utils/assets.ts Show resolved Hide resolved
src/__swaps__/screens/Swap/utils/assets.ts Outdated Show resolved Hide resolved
@@ -0,0 +1,347 @@
import { AddressZero } from '@ethersproject/constants';
Copy link
Contributor

Choose a reason for hiding this comment

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

this is all cool rn but were gonna need to merge with our current parsers/utils at some point or things are going to get real confusing

@dereknelson dereknelson self-requested a review March 20, 2024 20:53
};

export const deriveChainIdByHostname = (hostname: string) => {
switch (hostname) {
Copy link
Contributor

Choose a reason for hiding this comment

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

just putting it on record that this the kinda shit that i hate 😤

Copy link
Contributor Author

Choose a reason for hiding this comment

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

agreed. luckily think we can refactor this away pretty easily

@skylarbarrera skylarbarrera merged commit b2bebba into develop Mar 21, 2024
5 of 6 checks passed
@skylarbarrera skylarbarrera deleted the @matthew/APP-1246 branch March 21, 2024 21:53
BrodyHughes added a commit that referenced this pull request Apr 2, 2024
* 'develop' of github.com:rainbow-me/rainbow:
  Bump Rudderstack version to v1.12.1 (#5556)
  txs: detail sheet updates (#5535)
  browser: requests background color (#5562)
  fix: hide favs on non mainnet assets (#5565)
  balances: fetch twice tx confirm (#5551)
  [CHORE]: Remove Apollo client in favor of `@/graphql` (#5555)
  browser: favorites state + menu (#5553)
  init browser state (#5552)
  Dapp Browser: Search UI (#5542)
  Dapp Browser + provider (#5543)
  NFT offers/mints gas estimation improvements (#5448)
  State dump modifications (#5382)
  fix crash (#5544)
  [SWAPS V2]: Adjust asset types + utils to match BX (#5538)
This was referenced Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants