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

[Staking] Match NFT attribute key/value to pallet-nfts spec #344

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

DidacSF
Copy link
Contributor

@DidacSF DidacSF commented Aug 30, 2023

Description

This pallet replaces both NFT attribute key and value for BoundedVec with configurable bound limits, like pallet-nfts.

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 30, 2023 14:31
@codecov
Copy link

codecov bot commented Aug 30, 2023

Codecov Report

Patch coverage: 25.00% and no project coverage change.

Comparison is base (ff3d855) 75.81% compared to head (dedd25d) 75.81%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #344   +/-   ##
========================================
  Coverage    75.81%   75.81%           
========================================
  Files           33       33           
  Lines         3444     3444           
========================================
  Hits          2611     2611           
  Misses         833      833           
Files Changed Coverage Δ
pallets/ajuna-nft-staking/benchmarking/src/lib.rs 0.00% <0.00%> (ø)
pallets/ajuna-nft-staking/src/lib.rs 80.00% <0.00%> (ø)
pallets/ajuna-nft-staking/src/contracts.rs 93.54% <100.00%> (ø)

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

Copy link
Contributor

@darkfriend77 darkfriend77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's get this up and running.

@darkfriend77 darkfriend77 merged commit 68b3763 into develop Aug 31, 2023
@darkfriend77 darkfriend77 deleted the ds/attribute-and-value-refactor branch August 31, 2023 06:39
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