multisig exec error with authority
I run all steps of the eosio.multisig described in README.md and got this error at the execution step:
cleos multisig exec tester test -p tester Error 3030002: signatures do not satisfy declared authorizations Ensure that you have the related private keys inside your wallet and your wallet is unlocked. Error Details: transaction declares authority '{"actor":"treasury","permission":"active"}', but does not have signatures for it.
In the wallet, already had tester@active and treasury@active cleos get account tester { "account_name": "tester", "permissions": [{ "perm_name": "active", "parent": "owner", "required_auth": { "threshold": 1, "keys": [{ "key": "EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV", "weight": 1 } ], "accounts": [] } },{ "perm_name": "owner", "parent": "", "required_auth": { "threshold": 1, "keys": [{ "key": "EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV", "weight": 1 } ], "accounts": [] } } ] }
cleos get account treasury { "account_name": "treasury", "permissions": [{ "perm_name": "active", "parent": "owner", "required_auth": { "threshold": 1, "keys": [{ "key": "EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV", "weight": 1 } ], "accounts": [] } },{ "perm_name": "owner", "parent": "", "required_auth": { "threshold": 1, "keys": [{ "key": "EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV", "weight": 1 } ], "accounts": [] } } ] }
Ensure your wallet is unlock. "./cleos wallet list" command can display your wallet status. "default ", means that the wallet is unlock. "./cleos wallet unlock -n WALLET_NAME --password YOUR_WALLET_PASSWORD" command can unlock the wallet.
thank @imoonstal, But my wallet was unlocked already. I followed the tutorial of multisig step by step so to reach the multisig exec step my wallet was opened and unlocked at previous step. I have tried with default and custom wallet, both failed.
I tried with another but still got that issue, can do propose/approve/unapprove/review/cancel but not exec
eos_env$ mcleos -v multisig exec stock netting1 stock -p stock
Error 3030002: signatures do not satisfy declared authorizations
Ensure that you have the related private keys inside your wallet and your wallet is unlocked.
Error Details:
transaction declares authority '{"actor":"stock","permission":"active"}', but does not have signatures for it.
Stack Trace:
chain_controller.cpp:1231 check_authorization
apply_context.cpp:307 execute_deferred
wasm_interface.cpp:1176 send_deferred
apply_context.cpp:30 exec_one
chain_controller.cpp:2129 __apply_transaction
chain_controller.cpp:2164 _apply_transaction
chain_controller.cpp:2365 wrap_transaction_processing
chain_controller.cpp:364 _push_transaction
chain_controller.cpp:339 _push_transaction
chain_controller.cpp:291 push_transaction
httpc.cpp:150 call
eos_env$ mcleos get account stock
{
"account_name": "stock",
"permissions": [{
"perm_name": "active",
"parent": "owner",
"required_auth": {
"threshold": 1,
"keys": [{
"key": "EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV",
"weight": 1
}
],
"accounts": []
}
},{
"perm_name": "owner",
"parent": "",
"required_auth": {
"threshold": 1,
"keys": [{
"key": "EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV",
"weight": 1
}
],
"accounts": []
}
}
]
}
eos_env$ mcleos wallet keys | grep EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV
"EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV",
eos_env$ mcleos multisig review stock netting1
{
"proposal_name": "netting1",
"requested_approvals": [],
"provided_approvals": [{
"actor": "sc1",
"permission": "active"
},{
"actor": "sc2",
"permission": "active"
},{
"actor": "stock",
"permission": "active"
}
],
"packed_transaction": "3e38ec5a0000000000000000000000000100000000008868c6000000804d97b39a0100000000008868c600000000a8ed323200",
"transaction": {
"expiration": "2018-05-04T10:38:54",
"region": 0,
"ref_block_num": 0,
"ref_block_prefix": 0,
"max_net_usage_words": 0,
"max_kcpu_usage": 0,
"delay_sec": 0,
"context_free_actions": [],
"actions": [{
"account": "stock",
"name": "netting",
"authorization": [{
"actor": "stock",
"permission": "active"
}
],
"data": {},
"hex_data": ""
}
]
}
}
hi @imoonstal , just to confirm whether the issue belongs to my machine or not. Have you run multisig tutorial successfully yet?
I just built latest code and still have this issue. Have anyone seen it yet?
i got the same mistake too, still cant configure it.
i got the same mistake too.
I have the same problem
Can you provide the command that you used for "propose" and "approve"? And any other commands that you did to reproduce the issue?
Yes, the fact that the list of provided_approvals is not the subset of requested_approvals seems peculiar to me. Can you please provide the command requested by @taokayan above?
Any update or fix to this. I have been able to repeat the same error. Review and everything else works.
Kinda a show stopper for EOS.
I did the following lines to propose. I am using the hello contract. I still get the same error as above.
cleos multisig propose payme '[{"actor": "consumer", "permission": "active"},{"actor": "merchant", "permission": "active"}]' '[{"actor": "merchant", "permission": "active"}]' fimulti hi '{"user":"nesha"}' -p merchant@active
#cleos multisig review merchant payme
#cleos multisig approve merchant payme4 '{"actor": "merchant", "permission": "active"}' -p merchant@active
#cleos multisig approve merchant payme4 '{"actor": "consumer", "permission": "active"}' -p consumer@active
@giniz we haven't received any response from your for quite some time and this issue is already quite outdated so I'm going to close this issue. If you still have the problem and wish to discuss further, please post it in https://eosio.stackexchange.com. To keep things organized, Github issues are intended for bugs reporting and features tracking, and Stack Exchange is the right place for any technical support discussions. Thanks!
@srmcatee1110 try to see @taokayan recommendation first, seems to me it's a different problem from the original issue so it's better to make it as separate issue. If you still have the problem, please post it in Stack Exchange. Thanks!