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

fix: disable ED charging and refund for insufficient assets #834

Merged
merged 53 commits into from
Aug 9, 2024

Conversation

dmoka
Copy link
Contributor

@dmoka dmoka commented Jun 3, 2024

Solves this: #820

  • rebenchmark router, update behchmark, then rebenchmark DCA with new weights
  • @mrq1911 find out the the XCM issue that where we should also not charge ED
  • considering moving the SkipEd storage to asset registry to have a more generic solution
  • rebenchmark router and orml-tokens once everything resolved

Copy link

github-actions bot commented Jun 3, 2024

Crate versions that have been updated:

  • runtime-integration-tests: v1.23.1 -> v1.23.2
  • pallet-route-executor: v2.5.0 -> v2.5.1
  • hydradx-runtime: v255.0.0 -> v256.0.0

Runtime version has been increased.

@dmoka dmoka self-assigned this Jun 5, 2024
@dmoka dmoka marked this pull request as ready for review June 6, 2024 04:43
@dmoka dmoka requested a review from mrq1911 June 7, 2024 14:17
@martinfridrich
Copy link
Contributor

orml-tokens needs be rebenchmarked also, you introduced new storage ops into each transfer

dmoka added 5 commits June 17, 2024 08:47
…t-ed-charging

# Conflicts:
#	Cargo.lock
#	integration-tests/Cargo.toml
#	pallets/route-executor/src/weights.rs
#	runtime/hydradx/Cargo.toml
#	runtime/hydradx/src/lib.rs
#	runtime/hydradx/src/weights/pallet_dca.rs
#	runtime/hydradx/src/weights/pallet_route_executor.rs
pallets/route-executor/src/lib.rs Outdated Show resolved Hide resolved
pallets/route-executor/src/lib.rs Outdated Show resolved Hide resolved
pallets/route-executor/src/weights.rs Outdated Show resolved Hide resolved
pallets/route-executor/src/lib.rs Show resolved Hide resolved
pallets/route-executor/src/lib.rs Outdated Show resolved Hide resolved
@dmoka
Copy link
Contributor Author

dmoka commented Jul 24, 2024

orml-tokens needs be rebenchmarked also, you introduced new storage ops into each transfer

done!

dmoka added 3 commits July 24, 2024 10:42
…t-ed-charging

# Conflicts:
#	Cargo.lock
#	pallets/route-executor/Cargo.toml
#	pallets/route-executor/src/tests/mock.rs
#	runtime/hydradx/src/weights/pallet_route_executor.rs
@dmoka dmoka merged commit a188be0 into master Aug 9, 2024
5 checks passed
@dmoka dmoka deleted the fix/router-whitelist-ed-charging branch August 9, 2024 11:25
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.

3 participants