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

[moveo_std] Provide an entry function for 0x2::module_store::issue_upgrade_cap #3002

Open
jolestar opened this issue Dec 2, 2024 · 2 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed proposal New external API or other notable changes skill::move Need the Move language skill to complete the issue

Comments

@jolestar
Copy link
Contributor

jolestar commented Dec 2, 2024

Proposal Details

Provide an entry function for 0x2::module_store::issue_upgrade_cap

public fun issue_upgrade_cap(sender: &signer, owner: address) {
let package_id = signer::address_of(sender);
assert!(!is_upgrade_cap_issued(package_id), ErrorUpgradeCapIssued);
let upgrade_cap_obj = object::new_account_named_object<UpgradeCap>(package_id, UpgradeCap { package_id });
object::transfer_extend(upgrade_cap_obj, owner);
}

@jolestar jolestar added the proposal New external API or other notable changes label Dec 2, 2024
@ethsman
Copy link

ethsman commented Dec 3, 2024

Hi, @jolestar , sorry for leaving comment here without your agreement and respecting the team rule. Because I wanna contribute to rooch team's development and join your team, so I am going to solve issues. So could you give me some issue to be solved quickly as test task?

@jolestar jolestar added skill::move Need the Move language skill to complete the issue good first issue Good for newcomers help wanted Extra attention is needed labels Dec 4, 2024
@jolestar
Copy link
Contributor Author

jolestar commented Dec 4, 2024

Hi, @jolestar , sorry for leaving comment here without your agreement and respecting the team rule. Because I wanna contribute to rooch team's development and join your team, so I am going to solve issues. So could you give me some issue to be solved quickly as test task?

Join Discord at https://discord.gg/rooch and Post your Github profile link in the contributor-role channel(https://discord.com/channels/1078938449974935592/1162317534175952937). I will give you a role. The issue with the label help wanted or good first issue is better to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed proposal New external API or other notable changes skill::move Need the Move language skill to complete the issue
Projects
Status: No status
Development

No branches or pull requests

2 participants