Install and enable the voting reputation extension
Try to create a Transfer funds action moving some CREDS from Andromeda to General
The transaction estimation fails with reason voting-rep-invalid-domain-id
Suggestions (optional)
This happens because our moveFunds action creation doesn't set the third parameter correctly. We should have an action domain which we check permissions for, and then use that. Instead it always uses the fromDomain, but the "action domain" depends on where are we moving funds from and to.
While you're at it, change the third parameter of the multisig motion call too, to use the correct "action domain" instead.
Steps to reproduce
Transfer funds
action moving some CREDS fromAndromeda
toGeneral
voting-rep-invalid-domain-id
Suggestions (optional)
This happens because our
moveFunds
action creation doesn't set the third parameter correctly. We should have an action domain which we check permissions for, and then use that. Instead it always uses thefromDomain
, but the "action domain" depends on where are we moving funds from and to.While you're at it, change the third parameter of the multisig motion call too, to use the correct "action domain" instead.