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

chore: Refactor test cases and update alloy dependency #3

Merged
merged 1 commit into from
Jul 21, 2024
Merged

Conversation

shuhuiluo
Copy link
Owner

The commit includes code refactoring in tests of src/pool_lens.rs to avoid repeating the provider creation. The provider is created using a Lazy static variable. A previously commented out test case test_get_positions_slots is enabled and updated. The alloy library feature 'transports' is added in dependencies, replacing 'provider-http'. Some rust warning settings are also added to lib.rs. The project is renamed from 'Aperture-Lens' to 'Uniswap-Lens'.

The commit includes code refactoring in tests of `src/pool_lens.rs` to avoid repeating the provider creation. The provider is created using a Lazy static variable. A previously commented out test case `test_get_positions_slots` is enabled and updated. The alloy library feature 'transports' is added in dependencies, replacing 'provider-http'. Some rust warning settings are also added to `lib.rs`. The project is renamed from 'Aperture-Lens' to 'Uniswap-Lens'.
@shuhuiluo shuhuiluo requested a review from malik672 July 21, 2024 06:42
@shuhuiluo shuhuiluo self-assigned this Jul 21, 2024
@shuhuiluo shuhuiluo enabled auto-merge (squash) July 21, 2024 06:42
@malik672
Copy link
Collaborator

test is falling

@shuhuiluo
Copy link
Owner Author

test is falling

Rate limit.

@shuhuiluo shuhuiluo disabled auto-merge July 21, 2024 08:18
@shuhuiluo shuhuiluo merged commit f2fc8d7 into main Jul 21, 2024
4 checks passed
@shuhuiluo shuhuiluo deleted the pool branch July 21, 2024 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants