diff --git a/centrifuge-js/src/modules/pools.ts b/centrifuge-js/src/modules/pools.ts index e0b21541e9..69a8962242 100644 --- a/centrifuge-js/src/modules/pools.ts +++ b/centrifuge-js/src/modules/pools.ts @@ -943,7 +943,10 @@ export function getPoolsModule(inst: Centrifuge) { if (options?.createType === 'propose') { const proposalTx = api.tx.utility.batchAll([ api.tx.preimage.notePreimage(tx.method.toHex()), - api.tx.democracy.propose({ Inline: tx.method.hash }, api.consts.democracy.minimumDeposit), + api.tx.democracy.propose( + { Lookup: [tx.method.hash, tx.method.encodedLength] }, + api.consts.democracy.minimumDeposit + ), ]) return inst.wrapSignAndSend(api, proposalTx, options) }