-
Notifications
You must be signed in to change notification settings - Fork 77
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: rolling dca #983
feat: rolling dca #983
Conversation
Crate versions that have not been updated:
Runtime version has not been increased. |
@@ -914,6 +923,10 @@ impl<T: Config> Pallet<T> { | |||
schedule: &Schedule<T::AccountId, T::AssetId, BlockNumberFor<T>>, | |||
amount_to_unreserve: Balance, | |||
) -> DispatchResult { | |||
if schedule.is_rolling() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would also adjust the README, describing this rolling kind of schedules.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please adjsut README first, apart from that LGTM, good to go.
# Conflicts: # Cargo.lock # integration-tests/Cargo.toml # pallets/dca/Cargo.toml # runtime/hydradx/Cargo.toml # runtime/hydradx/src/lib.rs
No description provided.