Skip to content

Commit

Permalink
chore: resolve review comments
Browse files Browse the repository at this point in the history
refactor: item metadata

fix: item metadata tests

test(nonfungibles): add mint and burn tests

refactor: non fungibles sub0 (#364)

Co-authored-by: Tin Chung <[email protected]>

fix: pallet tests + integration tests

refactor: remove unused types

refactor(nonfungibles): CollectionConfig parameter

chore: resolve review comments

refactor: item metadata

fix: item metadata tests

test(nonfungibles): add mint and burn tests

refactor: non fungibles sub0 (#364)

Co-authored-by: Tin Chung <[email protected]>

fix: pallet tests + integration tests

refactor: remove unused types

refactor(nonfungibles): CollectionConfig parameter

chore: remove unused code
  • Loading branch information
chungquantin committed Nov 1, 2024
1 parent b879488 commit 8745056
Show file tree
Hide file tree
Showing 26 changed files with 678 additions and 566 deletions.
35 changes: 23 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pallets/api/src/fungibles/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub mod pallet {

/// State reads for the fungibles API with required input.
#[derive(Encode, Decode, Debug, MaxEncodedLen)]
#[cfg_attr(feature = "std", derive(Clone))]
#[cfg_attr(feature = "std", derive(PartialEq, Clone))]
#[repr(u8)]
#[allow(clippy::unnecessary_cast)]
pub enum Read<T: Config> {
Expand Down Expand Up @@ -84,7 +84,7 @@ pub mod pallet {

/// Results of state reads for the fungibles API.
#[derive(Debug)]
#[cfg_attr(feature = "std", derive(Encode, Clone))]
#[cfg_attr(feature = "std", derive(PartialEq, Clone))]
pub enum ReadResult<T: Config> {
/// Total token supply for a specified token.
TotalSupply(BalanceOf<T>),
Expand Down
Loading

0 comments on commit 8745056

Please sign in to comment.