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

Refactor crates to remove cyclic dependencies #105

Merged
merged 12 commits into from
May 17, 2024

Conversation

ryangoree
Copy link
Member

Resolved Issues

Related to #92

Description

This refactors the crates to remove all cyclic dependencies. Below is an illustration of the dependency tree before and after with a few notes:

hyperdrive-rs-dep-trees

Review Checklists

Please check each item before approving the pull request. While going
through the checklist, it is recommended to leave comments on items that are
referenced in the checklist to make sure that they are reviewed.

  • Testing
    • Are there new or updated unit or integration tests?
    • Do the tests cover the happy paths?
    • Do the tests cover the unhappy paths?
    • Are there an adequate number of fuzz tests to ensure that we are
      covering the full input space?
    • If matching Solidity behavior, are there differential fuzz tests that
      ensure that Rust matches Solidity?

Copy link
Contributor

@sentilesdal sentilesdal left a comment

Choose a reason for hiding this comment

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

this is amazing, nice work.

crates/hyperdrive-wrappers/build.rs Outdated Show resolved Hide resolved
crates/fixed-point/src/lib.rs Outdated Show resolved Hide resolved
crates/hyperdrive-test-utils/src/chain/deploy.rs Outdated Show resolved Hide resolved
crates/hyperdrive-test-utils/src/constants.rs Show resolved Hide resolved
crates/hyperdrive-test-utils/src/lib.rs Outdated Show resolved Hide resolved
@ryangoree ryangoree enabled auto-merge (squash) May 17, 2024 17:37
@ryangoree ryangoree merged commit f1417b1 into main May 17, 2024
8 checks passed
@ryangoree ryangoree deleted the ryangoree/circular-dep-err branch May 17, 2024 17:56
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