-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
206 bidding pallet update process onboarded assets #209
206 bidding pallet update process onboarded assets #209
Conversation
Codecov Report
@@ Coverage Diff @@
## main #209 +/- ##
==========================================
+ Coverage 78.39% 79.61% +1.21%
==========================================
Files 51 53 +2
Lines 4383 4571 +188
==========================================
+ Hits 3436 3639 +203
+ Misses 947 932 -15
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
let collections = all::<Nft::PossibleCollections>().collect::<Vec<_>>(); | ||
let mut possible_collection = Nft::PossibleCollections::HOUSES; | ||
for item in collections.iter() { | ||
let value: T::NftCollectionId = item.value().into(); | ||
if value == collection_id { | ||
possible_collection = *item; | ||
break; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we get rid of this for
loop?
https://enodev.fr/posts/rusticity-convert-an-integer-to-an-enum.html
In the process_onboarded_assests(), the successfully processed houses have the FINALISING status