diff --git a/packages/js-client/package.json b/packages/js-client/package.json index 94a6dc24..e5755966 100644 --- a/packages/js-client/package.json +++ b/packages/js-client/package.json @@ -1,7 +1,7 @@ { "name": "@vocdoni/gasless-voting", "author": "Vocdoni Association", - "version": "0.0.2-rc2", + "version": "0.0.2-rc4", "description": "Aragon DAO Gasless Voting Plugin SDK", "license": "AGPL-3.0-or-later", "main": "dist/index.js", @@ -79,7 +79,7 @@ }, "dependencies": { "@aragon/osx-ethers": "1.3.0-rc0.3", - "@aragon/sdk-client-common": "1.11.0", + "@aragon/sdk-client-common": "1.10.0", "@ethersproject/abstract-signer": "^5.7.0", "@ethersproject/bignumber": "^5.7.0", "@ethersproject/constants": "^5.7.0", diff --git a/packages/js-client/src/internal/modules/methods.ts b/packages/js-client/src/internal/modules/methods.ts index 128b68fb..b67d6cbe 100644 --- a/packages/js-client/src/internal/modules/methods.ts +++ b/packages/js-client/src/internal/modules/methods.ts @@ -301,7 +301,7 @@ export class GaslessVotingClientMethods this.vocdoniSDK.url, parsedSCProposal.vochainProposalId ); - const voters = votesList.votes.map((vote) => vote.voterID); + const voters = votesList.votes.map((vote) => '0x' + vote.voterID); const census3token = await this.vocdoniCensus3.getToken( pluginSettings.daoTokenAddress as string,