When creating a new token factory DAO, using voting_module_token as the denom for the proposal deposit fails because UncheckedDepositInfo's into_checked function assumes that the voting_module_token is a cw20. This function needs to be updated to allow specifying which token type the voting module uses so it can validate accordingly.
The workaround is to create the DAO first and then setup a proposal deposit after.
When creating a new token factory DAO, using
voting_module_token
as the denom for the proposal deposit fails becauseUncheckedDepositInfo
'sinto_checked
function assumes that thevoting_module_token
is a cw20. This function needs to be updated to allow specifying which token type the voting module uses so it can validate accordingly.The workaround is to create the DAO first and then setup a proposal deposit after.