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

Preaudit changes #305

Merged
merged 3 commits into from
Oct 9, 2024
Merged

Preaudit changes #305

merged 3 commits into from
Oct 9, 2024

Conversation

DevRozaDev
Copy link
Collaborator

@DevRozaDev DevRozaDev commented Oct 8, 2024

+ rename InvariantTrait to InvariantEntrypoints
+ split route into route and route_mut to make quote_route take an immutable reference
+ get_position and get_positions take an immutable reference
+ require passing the correct address to withdraw_all_wazero (5CtuFVgEUz13SFPVY6s2cZrnLDEkxQXc19aXrNARwEBeCXgg) source
+ add dev feature that removes the requirement of passing mainnet's withdraw_all_wazero address

@@ -19,6 +19,7 @@ scale-info = { version = "2.11.3", default-features = false }
[dev-dependencies]
ink_e2e = "5.0.0"
test_helpers = { path = "src/test_helpers", default-features = false }
scale-info = "2.11.3"
Copy link
Member

Choose a reason for hiding this comment

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

what's the reason for adding this dev-dependencies?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

rust-analyzer gets fussy without it for me locally, my bad will remove

@DevRozaDev DevRozaDev marked this pull request as ready for review October 9, 2024 12:47
@DevRozaDev DevRozaDev merged commit b609ba7 into master Oct 9, 2024
3 checks passed
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