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

Missing parameters for UnGuardAccount method #162

Open
elvisboghiu opened this issue Dec 2, 2024 · 1 comment
Open

Missing parameters for UnGuardAccount method #162

elvisboghiu opened this issue Dec 2, 2024 · 1 comment
Assignees

Comments

@elvisboghiu
Copy link
Contributor

Expected:
UnGuard method should contain also these two parameters: guardian address and guardian signature.
https://docs.multiversx.com/developers/built-in-functions/#unguardaccount

Actual:
` def create_transaction_for_unguarding_account(self, sender: IAddress) -> Transaction:
data_parts = ["UnGuardAccount"]

    transaction = TransactionBuilder(
        config=self.config,
        sender=sender,
        receiver=sender,
        data_parts=data_parts,
        gas_limit=self.config.gas_limit_unguard_account,
        add_data_movement_gas=True
    ).build()
    transaction.options = 2

    return transaction`
@popenta
Copy link
Collaborator

popenta commented Dec 10, 2024

This has been fixed in feat/next. Will close it when that is merged into main.

@popenta popenta self-assigned this Dec 10, 2024
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

No branches or pull requests

2 participants