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

Remove 1inch token list #81

Merged
merged 1 commit into from
Mar 26, 2024
Merged

Remove 1inch token list #81

merged 1 commit into from
Mar 26, 2024

Conversation

fedgiac
Copy link
Contributor

@fedgiac fedgiac commented Mar 26, 2024

The 1inch token list is used to decrease the number of network requests when fetching token information from the node.
The related API has been broken since a long time, so there is no actual efficiency gain from using this list.
The updated version of their token API requires an API key, which is by far not worth it for this use case.

Pruning this code also removes the very annoying warning "unable to recover token list from 1inch" that is shown on every invocation of a Hardhat command, since the list is prefetched to make execution faster.

Test Plan

Code compiles.

@fedgiac fedgiac requested a review from a team March 26, 2024 09:07
@coveralls
Copy link

Pull Request Test Coverage Report for Build 8433378139

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 97.398%

Totals Coverage Status
Change from base Build 8175589116: 0.0%
Covered Lines: 364
Relevant Lines: 366

💛 - Coveralls

@fedgiac fedgiac merged commit 350dcb5 into main Mar 26, 2024
5 checks passed
@fedgiac fedgiac deleted the delete-1inch-token-list branch March 26, 2024 10:17
@github-actions github-actions bot locked and limited conversation to collaborators Mar 26, 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.

3 participants