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

multisig unable to create new accounts #217

Open
anthony-near opened this issue Sep 27, 2022 · 1 comment
Open

multisig unable to create new accounts #217

anthony-near opened this issue Sep 27, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@anthony-near
Copy link

Context:
We are trying to multisig our root account, and one of the most frequent actions there is to create new accounts. I am trying to run this example (btw, there is typo in first action): https://github.com/near/core-contracts/tree/master/multisig#common-commands-for-multisig however this request cannot be confirmed and failed here: https://github.com/near/core-contracts/blob/master/multisig/src/lib.rs#L182 basically adding the key requires that receiver account should be the same as requesting one, which makes it impossible to create the account with multisig.

This feels like a deficiency of the multisig contract. I briefly looked into the source code and found this PR discussion: #84 (comment)
I don’t know why it was merged with the outstanding questions not addressed, but it seems that now it is not possible to create accounts through multisig.

@frol frol added the bug Something isn't working label Sep 27, 2022
@omar-saadoun
Copy link

I'm having issues to Add Keys too, I'm unable to do anything above 1 of 1 signers

Error: An error occurred during a FunctionCall Action, parameter is debug message.
ExecutionError("Smart contract panicked: panicked at 'assertion failed: (left == right)\n left: \"multisig.intellex_multisig_owner.testnet\",\n right: \"intellex_signer1.testnet\": Predecessor account must much current account', src/lib.rs:295:9")

Unless I'm using the multisig the wrong way but I do

  1. Deploy multisig with 2 confirmations
  2. Add a new signer key
  3. Try to transfer 1 NEAR to another account

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants