namada
namada copied to clipboard
Does it make sense to be able to pass threshold=0 on init-account ?
namada client init-account \
--threshold 0 \
--alias test-account-to-update2 \
--signing-keys validatorade \
--memo tpknam1qpayc0rxtuulknrvygcwvlhehuw2tvmxhvhxmjm8s43hxj3vdxjlv62jzcq
This works without any warning. What would be the consequences of having a 0 threshold account ? Possibility of not signing tx ?
hm, this shouldn't make sense. the consequences seem to be that no signatures are required to validate an action within that account
Yep, I confirm. Tested this morning, and you can also lower it to 0 through update-account :
namadac update-account --address test-establied-0 --threshold 0 --signing-keys $KEY_ALIAS --memo $NAMADA_MEMO --node http://rpc.namada.validatorade.org
Indeed, no signing required afterward, I can transfer funds with this account without signing
I have also fixed "init-validator" to enforce a threshold > 0