Skip to content

Fix double fees, set default min stake to 0.02 TAO, fix tick range check#1803

Merged
sam0x17 merged 5 commits intodevnet-readyfrom
test/swapv3-more-tests
Jul 2, 2025
Merged

Fix double fees, set default min stake to 0.02 TAO, fix tick range check#1803
sam0x17 merged 5 commits intodevnet-readyfrom
test/swapv3-more-tests

Conversation

@gztensor
Copy link
Contributor

@gztensor gztensor commented Jul 1, 2025

Description

  1. Fix double fees on move transactions
  2. Set DefaultMinStake to 0.02 TAO
  3. Fix check for tick_low < tick_high
  4. Additional check for limit price in swap

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Other (please describe):

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have run cargo fmt and cargo clippy to ensure my code is formatted and linted correctly
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@gztensor gztensor requested a review from ales-otf July 1, 2025 18:28
@sam0x17 sam0x17 added the skip-cargo-audit This PR fails cargo audit but needs to be merged anyway label Jul 1, 2025
sam0x17
sam0x17 previously approved these changes Jul 1, 2025
@sam0x17 sam0x17 merged commit c83e9cd into devnet-ready Jul 2, 2025
52 of 54 checks passed
@sam0x17 sam0x17 mentioned this pull request Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-cargo-audit This PR fails cargo audit but needs to be merged anyway

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants