Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
thelostone-mc committed Apr 30, 2024
1 parent 0cde040 commit ad1f00c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"test:watch": "vitest watch"
},
"dependencies": {
"@allo-team/allo-v2-sdk": "1.0.69",
"@allo-team/allo-v2-sdk": "1.0.67",
"@ethersproject/abstract-signer": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@gitcoinco/passport-sdk-types": "^0.2.0",
Expand Down
6 changes: 0 additions & 6 deletions packages/common/src/allo/backends/allo-v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -625,15 +625,9 @@ export class AlloV2 implements Allo {
poolId: BigInt(args.roundId),
});

const answers = metadata.application.answers;
const amountAnswer = answers.find(
(a) => a.question === "Amount requested"
);

registerRecipientTx = strategyInstance.getRegisterRecipientData({
registryAnchor: args.projectId,
recipientAddress: metadata.application.recipient,
grantAmount: BigInt((amountAnswer?.answer as string) ?? 0),
metadata: {
protocol: 1n,
pointer: ipfsResult.value,
Expand Down

0 comments on commit ad1f00c

Please sign in to comment.