Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
iamyulong committed Sep 21, 2023
1 parent 01bd542 commit ea9bdb9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion assets/blueprints/genesis_helper/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ mod genesis_helper {

if let Some(mut owner) = resource.owner {
// create owner badge
// TODO: Should we use securify style non fungible resource for the owner badge?
let owner_badge = ResourceBuilder::new_fungible(OwnerRole::None)
.divisibility(DIVISIBILITY_NONE)
.metadata(metadata! {
Expand Down Expand Up @@ -240,6 +239,10 @@ mod genesis_helper {
} else {
// create resource
ResourceBuilder::new_fungible(OwnerRole::None)
.mint_roles(mint_roles! {
minter => rule!(deny_all);
minter_updater => rule!(deny_all);
})
.metadata(ModuleConfig {
init: metadata.into(),
roles: RoleAssignmentInit::default(),
Expand Down
Binary file modified assets/genesis_helper.wasm
Binary file not shown.

0 comments on commit ea9bdb9

Please sign in to comment.