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

feat(arbitrum): add arbitrum_one #4407

Merged
merged 51 commits into from
May 24, 2024
Merged

feat(arbitrum): add arbitrum_one #4407

merged 51 commits into from
May 24, 2024

Conversation

alfetopito
Copy link
Collaborator

@alfetopito alfetopito commented May 3, 2024

Summary

Part of #4310

Add Arbitrum one support.

Mostly functional at this point.

Notes

  • RPCs might be a bit unreliable, checking it with devops
  • Did not get any order matched yet, checking it with backend

To Test

Full regression testing on the whole app on all networks 😬

Known issues

@alfetopito alfetopito self-assigned this May 3, 2024
Copy link

vercel bot commented May 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
cosmos ✅ Ready (Inspect) Visit Preview May 24, 2024 9:56am
cowfi ✅ Ready (Inspect) Visit Preview May 24, 2024 9:56am
explorer-dev ✅ Ready (Inspect) Visit Preview May 24, 2024 9:56am
swap-dev ✅ Ready (Inspect) Visit Preview May 24, 2024 9:56am
widget-configurator ✅ Ready (Inspect) Visit Preview May 24, 2024 9:56am

Copy link

socket-security bot commented May 3, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@1inch/[email protected] None +1 178 kB 1inch-robot
npm/@ampproject/[email protected] None 0 76 kB jridgewell
npm/@apollo/[email protected] network +1 5.97 MB apollo-bot
npm/@babel/[email protected] None 0 64.6 kB nicolo-ribaudo
npm/@babel/[email protected] None +2 744 kB nicolo-ribaudo
npm/@babel/[email protected] None +1 63.7 kB nicolo-ribaudo
npm/@babel/[email protected] None +2 336 kB nicolo-ribaudo
npm/@babel/[email protected] None +1 31 kB nicolo-ribaudo
npm/@babel/[email protected] unsafe 0 221 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 55 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 11.9 kB nicolo-ribaudo
npm/@babel/[email protected] None +1 38.6 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 15.4 kB nicolo-ribaudo
npm/@babel/[email protected] environment 0 20.4 kB nicolo-ribaudo
npm/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.24.1 None 0 7.74 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 10.7 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 40 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 3.48 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 12.4 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 3.65 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 5.12 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 4.13 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 6.94 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 5.55 kB nicolo-ribaudo
npm/@babel/[email protected] None +1 23.1 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 7.97 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 6.55 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 88.1 kB nicolo-ribaudo
npm/@babel/[email protected] None +5 490 kB nicolo-ribaudo
npm/@babel/[email protected] None +2 98 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 22.7 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 81.9 kB nicolo-ribaudo
npm/@babel/[email protected] None +2 35.1 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 9.11 kB nicolo-ribaudo
npm/@babel/[email protected] None +1 8.75 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 4.95 kB nicolo-ribaudo
npm/@babel/[email protected] None +1 10.8 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 44.7 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 6.2 kB nicolo-ribaudo
npm/@babel/[email protected] None +1 8.54 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 4.63 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 8.65 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 4.94 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 20.9 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 42.4 kB nicolo-ribaudo
npm/@babel/[email protected] None +1 73 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 25.6 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 10.3 kB nicolo-ribaudo
npm/@babel/[email protected] None +1 11.8 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 5.47 kB nicolo-ribaudo
npm/@babel/[email protected] None +1 75.3 kB nicolo-ribaudo
npm/@babel/[email protected] None +1 15.9 kB nicolo-ribaudo
npm/@babel/[email protected] None +1 7.45 kB nicolo-ribaudo
npm/@babel/[email protected] None +1 40.5 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 64.9 kB nicolo-ribaudo
npm/@babel/[email protected] None +2 15.4 kB nicolo-ribaudo
npm/@babel/[email protected] None +3 33.5 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 4.72 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 23.6 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 12.4 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 6.82 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 4.28 kB nicolo-ribaudo
npm/@babel/[email protected] unsafe 0 37.4 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 7.11 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 21.2 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 4.64 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 15.9 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 10.5 kB nicolo-ribaudo
npm/@babel/[email protected] None +1 136 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 13.9 kB nicolo-ribaudo
npm/@babel/[email protected] None +1 9.02 kB nicolo-ribaudo
npm/@babel/[email protected] None +1 7.95 kB nicolo-ribaudo
npm/@babel/[email protected] None +1 8.69 kB nicolo-ribaudo
npm/@babel/[email protected] environment, filesystem +20 328 kB nicolo-ribaudo
npm/@babel/[email protected] None +5 125 kB nicolo-ribaudo
npm/@babel/[email protected] None +1 25.8 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 282 kB nicolo-ribaudo
npm/@coinbase/[email protected] environment Transitive: eval, network +2 15.2 MB jungho.bang
npm/@commitlint/[email protected] Transitive: environment, filesystem +17 387 kB escapedcat
npm/@commitlint/[email protected] None 0 9.6 kB escapedcat
npm/@cowprotocol/[email protected] None 0 188 kB cowprotocol_dev
npm/@cowprotocol/[email protected] None 0 212 kB cowprotocol_dev
npm/@cowprotocol/[email protected] None 0 506 kB cowprotocol_dev
npm/@cowprotocol/[email protected] network 0 2.19 MB cowprotocol_dev
npm/@cowprotocol/[email protected] Transitive: environment +2 3.51 MB anxolin
npm/@cowprotocol/[email protected] Transitive: network +6 3.26 MB
npm/@cowprotocol/[email protected] None 0 0 B
npm/@csstools/[email protected] None 0 43.9 kB alaguna
npm/@csstools/[email protected] None 0 16.7 kB alaguna
npm/@davatar/[email protected] network 0 35.3 kB carlosdp
npm/@emotion/[email protected] environment +10 2.55 MB emotion-release-bot
npm/@emotion/[email protected] environment +1 33.4 kB emotion-release-bot
npm/@emotion/[email protected] environment Transitive: filesystem +11 1.06 MB emotion-release-bot
npm/@emotion/[email protected] environment Transitive: filesystem +8 490 kB emotion-release-bot
npm/@emotion/[email protected] environment 0 105 kB emotion-release-bot
npm/@eslint-community/[email protected] None 0 379 kB eslint-community-bot
npm/@eslint-community/[email protected] None 0 429 kB eslint-community-bot
npm/@eslint/[email protected] filesystem, unsafe 0 655 kB eslintbot
npm/@ethereumjs/[email protected] None 0 298 kB holgerd77
npm/@ethereumjs/[email protected] None +1 327 kB holgerd77
npm/@ethereumjs/[email protected] None +1 287 kB holgerd77
npm/@ethersproject/[email protected] None 0 498 kB ricmoo
npm/@ethersproject/[email protected] None 0 61 kB ricmoo
npm/@ethersproject/[email protected] None 0 82.2 kB ricmoo
npm/@ethersproject/[email protected] None 0 33.1 kB ricmoo
npm/@ethersproject/[email protected] None 0 11.3 kB ricmoo
npm/@ethersproject/[email protected] None 0 30.1 kB ricmoo
npm/@ethersproject/[email protected] None 0 143 kB ricmoo
npm/@ethersproject/[email protected] None 0 80.9 kB ricmoo
npm/@ethersproject/[email protected] None 0 18.7 kB ricmoo
npm/@ethersproject/[email protected] None 0 250 kB ricmoo
npm/@ethersproject/[email protected] None 0 94.3 kB ricmoo
npm/@ethersproject/[email protected] None 0 257 kB ricmoo
npm/@ethersproject/[email protected] None 0 80.7 kB ricmoo
npm/@ethersproject/[email protected] None 0 125 kB ricmoo
npm/@ethersproject/[email protected] None 0 6.09 kB ricmoo
npm/@ethersproject/[email protected] None 0 69.5 kB ricmoo
npm/@ethersproject/[email protected] None 0 47.5 kB ricmoo
npm/@ethersproject/[email protected] None 0 17.4 kB ricmoo
npm/@ethersproject/[email protected] None 0 31 kB ricmoo
npm/@ethersproject/[email protected] network 0 1.2 MB ricmoo
npm/@ethersproject/[email protected] None 0 17.3 kB ricmoo
npm/@ethersproject/[email protected] None 0 29.6 kB ricmoo
npm/@ethersproject/[email protected] None 0 21.7 kB ricmoo
npm/@ethersproject/[email protected] None 0 244 kB ricmoo
npm/@ethersproject/[email protected] None 0 23.2 kB ricmoo
npm/@ethersproject/[email protected] None 0 119 kB ricmoo
npm/@ethersproject/[email protected] None 0 89.6 kB ricmoo
npm/@ethersproject/[email protected] network 0 128 kB ricmoo
npm/@ethersproject/[email protected] None 0 390 kB ricmoo
npm/@fontsource/[email protected] None 0 3.38 MB lotusdevshack
npm/@fontsource/[email protected] None 0 4.45 MB lotusdevshack
npm/@fortawesome/[email protected] None +1 1.18 MB robmadole
npm/@fortawesome/[email protected] None +1 1.47 MB robmadole
npm/@fortawesome/[email protected] None +1 5.86 MB robmadole
npm/@fortawesome/[email protected] environment 0 37.4 kB robmadole
npm/@gnosis.pm/[email protected] environment +1 20.9 MB alfetopito
npm/@humanwhocodes/[email protected] None 0 55.6 kB nzakas
npm/@jest/[email protected] None +1 458 kB simenb
npm/@jest/[email protected] None +4 650 kB simenb
npm/@jest/[email protected] Transitive: eval +3 587 kB simenb
npm/@jest/[email protected] None +1 447 kB simenb
npm/@jest/[email protected] None 0 5.07 kB simenb
npm/@jest/[email protected] None +4 516 kB simenb
npm/@jest/[email protected] None +1 456 kB simenb
npm/@jridgewell/[email protected] None 0 79.2 kB jridgewell
npm/@jridgewell/[email protected] None +2 259 kB jridgewell
npm/@lingui/[email protected] Transitive: environment, filesystem +7 22.6 MB andrii.bodnar
npm/@lingui/[email protected] environment +2 90.5 kB andrii.bodnar
npm/@lingui/[email protected] environment Transitive: filesystem +3 193 kB andrii.bodnar
npm/@lingui/[email protected] environment 0 35.3 kB andrii.bodnar
npm/@lingui/[email protected] None 0 3.99 MB andrii.bodnar
npm/@lingui/[email protected] Transitive: environment, filesystem +1 57 kB andrii.bodnar
npm/@lit-labs/[email protected] environment 0 33.7 kB lit-robot
npm/@lit/[email protected] None 0 822 kB lit-robot
npm/@material-ui/[email protected] environment +8 11.4 MB eps1lon
npm/@metamask/[email protected] None +1 246 kB metamaskbot
npm/@metamask/[email protected] None +1 22.1 kB whymarrh
npm/@metamask/[email protected] None 0 7.65 kB whymarrh
npm/@mui/[email protected] None 0 18.9 MB mj12albert
npm/@mui/[email protected] environment +18 8.4 MB mj12albert
npm/@mui/[email protected] environment +18 16.8 MB mj12albert
npm/@mui/[email protected] environment 0 884 kB mj12albert
npm/@noble/[email protected] None +1 2.04 MB paulmillr
npm/@noble/[email protected] None 0 736 kB paulmillr
npm/@noble/[email protected] None 0 111 kB paulmillr
npm/@nx/[email protected] environment, filesystem Transitive: shell, unsafe +4 466 kB nrwl-jason
npm/@nx/[email protected] filesystem Transitive: environment, shell, unsafe +5 377 kB nrwl-jason
npm/@nx/[email protected] environment Transitive: filesystem, shell, unsafe +4 32.7 MB nrwl-jason
npm/@nx/[email protected] environment, filesystem, unsafe Transitive: shell +12 1.76 MB nrwl-jason
npm/@nx/[email protected] environment, filesystem, shell Transitive: unsafe +8 814 kB nrwl-jason
npm/@nx/[email protected] None 0 3.51 kB nrwl-jason
npm/@nx/[email protected] environment, filesystem Transitive: shell, unsafe +8 5.34 MB nrwl-jason
npm/@nx/[email protected] environment Transitive: filesystem, shell, unsafe +6 950 kB nrwl-jason
npm/@nx/[email protected] environment, eval, filesystem Transitive: shell, unsafe +7 2.29 MB nrwl-jason
npm/@nx/[email protected] environment, filesystem Transitive: shell, unsafe +3 405 kB nrwl-jason
npm/@protobufjs/[email protected] None 0 9.05 kB dcode
npm/@reach/[email protected] environment +2 140 kB chancestrickland
npm/@reach/[email protected] environment +8 492 kB chancestrickland
npm/@reach/[email protected] environment +1 96.7 kB chancestrickland
npm/@react-hook/[email protected] None +3 96 kB jaredlunde
npm/@react-spring/[email protected] environment +4 2.62 MB tdfka_rick
npm/@reduxjs/[email protected] environment +1 13.8 MB acemarke
npm/@rjsf/[email protected] environment +1 4.88 MB rjsf-bot
npm/@rollup/[email protected] None 0 57.1 kB shellscape
npm/@rushstack/[email protected] None 0 240 kB odspnpm
npm/@safe-global/[email protected] None 0 115 kB germartinez
npm/@safe-global/[email protected] None +2 3.06 MB germartinez
npm/@safe-global/[email protected] None +1 245 kB germartinez
npm/@safe-global/[email protected] None 0 65.4 kB germartinez
npm/@safe-global/[email protected] None 0 636 kB mikheevm
npm/@safe-global/[email protected] None +2 899 kB germartinez
npm/@sentry/[email protected] Transitive: network +5 5.75 MB sentry-bot
npm/@sentry/[email protected] None +3 2.61 MB sentry-bot
npm/@sentry/[email protected] None +1 1.41 MB sentry-bot
npm/@sentry/[email protected] Transitive: environment, filesystem, network, shell, unsafe +10 6.34 MB sentry-bot
npm/@sentry/[email protected] Transitive: environment, filesystem, network, shell, unsafe +7 5.2 MB sentry-bot
npm/@sindresorhus/[email protected] None 0 57.5 kB sindresorhus
npm/@stablelib/[email protected] None +3 157 kB dchest
npm/@styled-system/[email protected] None 0 16 kB jxnblk

🚮 Removed packages: npm/@cowprotocol/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@ungap/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

Copy link

socket-security bot commented May 3, 2024

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
Install scripts npm/@sentry/[email protected]
  • Install script: install
  • Source: node ./scripts/install.js
Install scripts npm/@sentry/[email protected]
  • Install script: install
  • Source: node ./scripts/install.js
Install scripts npm/@fortawesome/[email protected]
  • Install script: postinstall
  • Source: node attribution.js
Install scripts npm/@fortawesome/[email protected]
  • Install script: postinstall
  • Source: node attribution.js
Install scripts npm/@fortawesome/[email protected]
  • Install script: postinstall
  • Source: node attribution.js
Install scripts npm/@fortawesome/[email protected]
  • Install script: postinstall
  • Source: node attribution.js

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/[email protected] or ignore all packages with @SocketSecurity ignore-all

@alfetopito alfetopito force-pushed the feat/4310_arbitrum branch from a740f05 to 2889146 Compare May 3, 2024 17:27
@alfetopito alfetopito force-pushed the feat/4310_arbitrum branch from 2889146 to 9de22a1 Compare May 14, 2024 10:59
@alfetopito alfetopito force-pushed the feat/4310_arbitrum branch from 9de22a1 to e69db9e Compare May 14, 2024 13:46
shoom3301 and others added 19 commits May 24, 2024 10:52
* feat: use light and dark token logos

* chore: lint fix

* feat: update gchain logo

* chore: fix missing dark/light mode icons
* feat: add helper hook useAvailableChains

* feat: filter out arb1 on explorer

* feat: filter configurator networks using feature flag

* fix: make sure Launch Darkly is loaded before the header

* feat: add launch darkly to widget configurator

* refactor: move cowswap hooks out of common-hooks and remove unused hooks

* chore: move useAvailableChains to common-hooks

* refactor: use useAvailableChains from common-hooks

* feat: search only on available chains on explorer

* fix: more lint fixes
@elena-zh
Copy link

Great job!

@alfetopito alfetopito merged commit 166e33f into develop May 24, 2024
10 of 12 checks passed
@alfetopito alfetopito deleted the feat/4310_arbitrum branch May 24, 2024 12:26
@github-actions github-actions bot locked and limited conversation to collaborators May 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants