Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

[Season 2] Add account activity check for free mint transfer #333

Merged
merged 4 commits into from
Aug 3, 2023

Conversation

DidacSF
Copy link
Contributor

@DidacSF DidacSF commented Aug 3, 2023

Description

Adds an additional check the the transfer_free_mints extrinsic. This check blocks accounts that have neither minted nor forged anything from transferring their free mints.

Type of changes

  • build: Changes that affect the build system or external dependencies (eg, Cargo, Docker)
  • ci: Changes to CI configuration
  • docs: Changes to documentation only
  • feat: Changes to add a new feature
  • fix: Changes to fix a bug
  • refactor: Changes that do not alter functionality
  • style: Changes to format the code
  • test: Changes to add missing tests or correct existing tests

Checklist

  • Tests for the changes have been added
  • Necessary documentation is added (if appropriate)
  • Formatted with cargo fmt --all
  • Linted with cargo clippy --all-features --all-targets
  • Tested with cargo test --workspace --all-features --all-targets

@DidacSF DidacSF requested a review from darkfriend77 August 3, 2023 09:31
@codecov
Copy link

codecov bot commented Aug 3, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.02% 🎉

Comparison is base (8c8b19f) 74.91% compared to head (90853b8) 74.93%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #333      +/-   ##
===========================================
+ Coverage    74.91%   74.93%   +0.02%     
===========================================
  Files           33       33              
  Lines         3412     3415       +3     
===========================================
+ Hits          2556     2559       +3     
  Misses         856      856              
Files Changed Coverage Δ
pallets/ajuna-awesome-avatars/src/lib.rs 82.69% <100.00%> (+0.09%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@darkfriend77 darkfriend77 merged commit 6278f8d into develop Aug 3, 2023
@darkfriend77 darkfriend77 deleted the ds/restrict-free-mint-transfer branch August 3, 2023 18:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants