Skip to content
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

Merged
merged 2 commits into from
Nov 16, 2022

Conversation

letodunc
Copy link
Contributor

In the process_onboarded_assests(), the successfully processed houses have the FINALISING status

@letodunc letodunc added the enhancement New feature or request label Nov 15, 2022
@letodunc letodunc added this to the M4 milestone Nov 15, 2022
@letodunc letodunc self-assigned this Nov 15, 2022
@letodunc letodunc linked an issue Nov 15, 2022 that may be closed by this pull request
@codecov-commenter
Copy link

Codecov Report

Merging #209 (465366f) into main (2f286bc) will increase coverage by 1.21%.
The diff coverage is 87.50%.

@@            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     
Impacted Files Coverage Δ
pallets/onboarding/src/types.rs 100.00% <ø> (ø)
pallets/bidding/src/lib.rs 72.07% <75.00%> (+2.07%) ⬆️
pallets/bidding/src/tests.rs 100.00% <100.00%> (ø)
runtime/src/lib.rs 12.22% <0.00%> (ø)
pallets/onboarding/src/tests.rs 100.00% <0.00%> (ø)
pallets/asset_management/src/mock.rs 75.00% <0.00%> (ø)
pallets/asset_management/src/tests.rs 100.00% <0.00%> (ø)
pallets/onboarding/src/functions.rs 85.00% <0.00%> (+0.78%) ⬆️
pallets/roles/src/lib.rs 75.65% <0.00%> (+3.47%) ⬆️
... and 2 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Comment on lines +275 to +283
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;
}
}
Copy link
Member

@cuteolaf cuteolaf Nov 16, 2022

Choose a reason for hiding this comment

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

@letodunc letodunc merged commit 06758d2 into main Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Bidding Pallet - Update process_onboarded_assets
4 participants