HydraDX-node icon indicating copy to clipboard operation
HydraDX-node copied to clipboard

fix: omnipool - dont allow sell/buy with same asset in/out

Open enthusiastmartin opened this issue 2 years ago • 2 comments

Fixes issue #436

enthusiastmartin avatar Aug 16 '22 20:08 enthusiastmartin

Crate versions that have not been updated:

  • pallet-omnipool: v1.0.0

Runtime version has not been increased.

github-actions[bot] avatar Aug 16 '22 20:08 github-actions[bot]

Codecov Report

Merging #437 (6e26509) into feat/omnipool (20c8ac6) will increase coverage by 0.03%. The diff coverage is 100.00%.

@@                Coverage Diff                @@
##           feat/omnipool     #437      +/-   ##
=================================================
+ Coverage          86.77%   86.80%   +0.03%     
=================================================
  Files                  8        8              
  Lines                877      879       +2     
=================================================
+ Hits                 761      763       +2     
  Misses               116      116              
Impacted Files Coverage Δ
pallets/omnipool/src/lib.rs 87.01% <100.00%> (+0.04%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov[bot] avatar Aug 16 '22 21:08 codecov[bot]