Skip to content

Commit 4b3d5d0

Browse files
committed
fix: update blocks per batch
* Set blocks per batch to 100 for joinPoll * fix typo
1 parent 97e8ca7 commit 4b3d5d0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

plugins/maciVoting/components/proposal/header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const ProposalHeader: React.FC<ProposalHeaderProps> = ({ proposal }) => {
6161
<div className="flex items-center">
6262
<span className="w-8"></span>
6363
<span className="text-neutral-500">
64-
In {getSimpleRelativeTimeFromDate(dayjs(Number(proposal.parameters.startDate) * 1000))} minutes
64+
In {getSimpleRelativeTimeFromDate(dayjs(Number(proposal.parameters.startDate) * 1000))}
6565
</span>
6666
</div>
6767
)}
@@ -79,7 +79,7 @@ const ProposalHeader: React.FC<ProposalHeaderProps> = ({ proposal }) => {
7979
<div className="flex items-center">
8080
<span className="w-8"></span>
8181
<span className="text-neutral-500">
82-
In {getSimpleRelativeTimeFromDate(dayjs(Number(proposal.parameters.endDate) * 1000))} minutes
82+
In {getSimpleRelativeTimeFromDate(dayjs(Number(proposal.parameters.endDate) * 1000))}
8383
</span>
8484
</div>
8585
)}

plugins/maciVoting/contexts/MaciContext.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ export const MaciProvider = ({ children }: { children: ReactNode }) => {
199199
pollWasm: artifacts.wasm as unknown as string,
200200
sgDataArg: DEFAULT_SG_DATA,
201201
ivcpDataArg: DEFAULT_IVCP_DATA,
202+
blocksPerBatch: 1000,
202203
}).catch((error) => {
203204
if (error.message.includes("0xa3281672")) {
204205
// 0xa3281672 -> signature of BalanceTooLow()

0 commit comments

Comments
 (0)