Skip to content

AGIP135: add batch equip functions for wearables and wearable configs#3

Open
pgendreau wants to merge 8 commits intoaavegotchi:masterfrom
pgendreau:feature/agip135
Open

AGIP135: add batch equip functions for wearables and wearable configs#3
pgendreau wants to merge 8 commits intoaavegotchi:masterfrom
pgendreau:feature/agip135

Conversation

@pgendreau
Copy link

No description provided.

@pgendreau pgendreau changed the title AGIP135: add batch equip functions for wearables and wearable configs feature AGIP135: add batch equip functions for wearables and wearable configs Jan 19, 2025

// if the sender is not the owner and the gotchi has been bridged
// then they need to pay a fee to the owner
if (sender != owner) {
Copy link
Member

Choose a reason for hiding this comment

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

It seems like it's possible for someone other than the owner to update an existing config ID, is that the intended behavior? @pgendreau

Copy link
Author

Choose a reason for hiding this comment

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

It's so it can be delegated but I see how this could be used maliciously when updating someone else configuration without a proper permission system. We could remove it for update and leave it for createWearablesConfig as it is not as problematic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants