diff --git a/packages/builder/package.json b/packages/builder/package.json
index 91649b21e..851b738af 100644
--- a/packages/builder/package.json
+++ b/packages/builder/package.json
@@ -89,6 +89,7 @@
"url": "^0.11.0",
"verify-env": "workspace:*",
"viem": "^2.13.10",
+ "wagmi": "2.10.2",
"web-vitals": "^2.1.4",
"yup": "^0.32.11",
"zod": "^3.22.4"
diff --git a/packages/builder/src/__tests__/components/grants/Details.test.tsx b/packages/builder/src/__tests__/components/grants/Details.test.tsx
index 989c91716..1806e30e1 100644
--- a/packages/builder/src/__tests__/components/grants/Details.test.tsx
+++ b/packages/builder/src/__tests__/components/grants/Details.test.tsx
@@ -73,47 +73,47 @@ _italic text_
});
describe("credential verification badge", () => {
- // test("should show two verification badges", async () => {
- // const store = setupStore();
- // const twitterHandle = "my-twitter-handle";
- // const twitterVC = buildVerifiableCredential("Twitter", twitterHandle);
- // twitterVC.issuer = IAM_SERVER;
-
- // const githubHandle = "github-org-handle";
- // const githubVC = buildVerifiableCredential("GithubOrg", githubHandle);
- // githubVC.issuer = IAM_SERVER;
-
- // const project = buildProjectMetadata({
- // projectTwitter: twitterHandle,
- // projectGithub: githubHandle,
- // credentials: {
- // twitter: twitterVC,
- // github: githubVC,
- // },
- // });
-
- // const verifyCredentialMock = jest.fn();
- // verifyCredentialMock.mockReturnValue(true);
- // PassportVerifierWithExpiration.prototype.verifyCredential =
- // verifyCredentialMock;
-
- // await act(async () => {
- // renderWrapped(
- // ,
- // store
- // );
- // });
-
- // expect((await screen.findAllByText("Verified")).length).toBe(2);
- // });
+ test("should show two verification badges", async () => {
+ const store = setupStore();
+ const twitterHandle = "my-twitter-handle";
+ const twitterVC = buildVerifiableCredential("Twitter", twitterHandle);
+ twitterVC.issuer = IAM_SERVER;
+
+ const githubHandle = "github-org-handle";
+ const githubVC = buildVerifiableCredential("GithubOrg", githubHandle);
+ githubVC.issuer = IAM_SERVER;
+
+ const project = buildProjectMetadata({
+ projectTwitter: twitterHandle,
+ projectGithub: githubHandle,
+ credentials: {
+ twitter: twitterVC,
+ github: githubVC,
+ },
+ });
+
+ const verifyCredentialMock = jest.fn();
+ verifyCredentialMock.mockReturnValue(true);
+ PassportVerifierWithExpiration.prototype.verifyCredential =
+ verifyCredentialMock;
+
+ await act(async () => {
+ renderWrapped(
+ ,
+ store
+ );
+ });
+
+ expect((await screen.findAllByText("Verified")).length).toBe(2);
+ });
test("should show one verification badge", async () => {
const store = setupStore();
const twitterHandle = "my-twitter-handle";
diff --git a/packages/grant-explorer/package.json b/packages/grant-explorer/package.json
index 8b0b8d0f8..6cc15d7a4 100644
--- a/packages/grant-explorer/package.json
+++ b/packages/grant-explorer/package.json
@@ -111,6 +111,7 @@
"util": "^0.12.4",
"verify-env": "workspace:*",
"viem": "2.13.10",
+ "wagmi": "2.10.2",
"web-vitals": "^2.1.0",
"zod": "^3.22.4",
"zustand": "^4.4.0"
diff --git a/packages/round-manager/package.json b/packages/round-manager/package.json
index 055db975b..58168e6b4 100644
--- a/packages/round-manager/package.json
+++ b/packages/round-manager/package.json
@@ -99,6 +99,7 @@
"uuid": "^9.0.1",
"verify-env": "workspace:*",
"viem": "2.13.10",
+ "wagmi": "2.10.2",
"web-vitals": "^2.1.0",
"yup": "^0.32.11",
"zustand": "^4.4.0"