LiskArchive / lisk-sdk

🔩 Lisk software development kit
https://lisk.com
Apache License 2.0
2.72k stars 454 forks source link

Remove unnecessary calls to validator.validate in commands of NFT module #9012

Closed Incede closed 1 year ago

Incede commented 1 year ago

What was the problem?

This PR resolves #8987

How was it solved?

Update as specified

How was it tested?

Updated unit test

codecov[bot] commented 1 year ago

Codecov Report

Merging #9012 (4670a87) into release/6.1.0 (39b89af) will decrease coverage by 0.01%. The diff coverage is n/a.

Impacted file tree graph

@@                Coverage Diff                @@
##           release/6.1.0    #9012      +/-   ##
=================================================
- Coverage          84.36%   84.35%   -0.01%     
=================================================
  Files                650      650              
  Lines              24022    24017       -5     
  Branches            3490     3490              
=================================================
- Hits               20266    20260       -6     
- Misses              3756     3757       +1     
Files Changed Coverage
...amework/src/modules/nft/cc_commands/cc_transfer.ts ø
framework/src/modules/nft/commands/transfer.ts ø
...k/src/modules/nft/commands/transfer_cross_chain.ts ø