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(alloy): Migrate pool lens to use Alloy #2

Merged
merged 6 commits into from
Jul 20, 2024
Merged

feat(alloy): Migrate pool lens to use Alloy #2

merged 6 commits into from
Jul 20, 2024

Commits on Jul 20, 2024

  1. Update build process and refactor project configuration

    This commit makes significant changes to the build process and project configuration. The changes include updating the .gitignore file to include Cargo.lock, adding the INFURA_API_KEY environmental variable to Rust workflow, and modifying commands in the Rust and Github workflows. Refactoring also involved changing the project's metadata in Cargo.toml and altering various settings in rustfmt.toml and package.json. Lastly, the Github workflow for npm_publish was removed.
    shuhuiluo committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    70b698b View commit details
    Browse the repository at this point in the history
  2. feat(alloy): Migrate pool lens to use Alloy

    This commit migrates the pool lens functions to use Alloy for making calls and decoding results. All calls to the `Middleware` trait and its `client` have been replaced with the Alloy `Provider` trait and its `provider`. The functions now return an `anyhow::Result` instead of a `ContractError`, providing a more generic error handling approach. The diff also includes commenting out `position_lens` and `storage_lens`. Further testing and validation are required to ensure correct information retrieval and error management post-migration.
    shuhuiluo committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    b191610 View commit details
    Browse the repository at this point in the history
  3. Remove formatting check from GitHub Actions

    The commit removes the formatting check step from the GitHub Actions workflow for Rust. This step was unnecessary and was causing redundancy in the workflow. The focus is now solely on linting checks, making the process more streamlined and efficient.
    shuhuiluo committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    3aefbe3 View commit details
    Browse the repository at this point in the history
  4. fix ci

    shuhuiluo committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    be2442e View commit details
    Browse the repository at this point in the history
  5. fix test

    shuhuiluo committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    577fa38 View commit details
    Browse the repository at this point in the history
  6. fix fmt

    shuhuiluo committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    0a14aab View commit details
    Browse the repository at this point in the history