webb-tools / protocol-substrate

Webb protocol implementation in Substrate.
https://docs.webb.tools/v1/anchor-system/overview/
Apache License 2.0
37 stars 11 forks source link

anon mining amm #277

Closed kwhuo68 closed 1 year ago

kwhuo68 commented 1 year ago

Summary of changes Changes introduced in this pull request: -Basic pallet & tests for rewards swapping AP & Rewards similar to Tornado anon mining AMM

drewstone commented 1 year ago

Can you make sure the CI passes @kwhuo68 ?

codecov-commenter commented 1 year ago

Codecov Report

Base: 50.14% // Head: 48.38% // Decreases project coverage by -1.76% :warning:

Coverage data is based on head (1745073) compared to base (78dfefd). Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #277 +/- ## ========================================== - Coverage 50.14% 48.38% -1.77% ========================================== Files 55 56 +1 Lines 2064 2135 +71 ========================================== - Hits 1035 1033 -2 - Misses 1029 1102 +73 ``` | [Impacted Files](https://codecov.io/gh/webb-tools/protocol-substrate/pull/277?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webb-tools) | Coverage Δ | | |---|---|---| | [pallets/anonymity-mining/src/lib.rs](https://codecov.io/gh/webb-tools/protocol-substrate/pull/277/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webb-tools#diff-cGFsbGV0cy9hbm9ueW1pdHktbWluaW5nL3NyYy9saWIucnM=) | `0.00% <0.00%> (ø)` | | | [pallets/vanchor/src/lib.rs](https://codecov.io/gh/webb-tools/protocol-substrate/pull/277/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webb-tools#diff-cGFsbGV0cy92YW5jaG9yL3NyYy9saWIucnM=) | `80.76% <0.00%> (-0.97%)` | :arrow_down: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webb-tools). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=webb-tools)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.