From 800763418df4df250ff13a04ec79cd9144217660 Mon Sep 17 00:00:00 2001
From: ShahNami <me@nami.sh>
Date: Sat, 7 Sep 2024 17:59:14 +0400
Subject: [PATCH] fix(contracts): include ABI in contract list

---
 src/cmd/deploy.ts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/cmd/deploy.ts b/src/cmd/deploy.ts
index fc85304..2b7f65a 100644
--- a/src/cmd/deploy.ts
+++ b/src/cmd/deploy.ts
@@ -700,8 +700,7 @@ export default class DefenderDeploy {
       const actions = await getActionClient(this.teamKey!).list();
       const notifications = await client.listNotificationChannels();
 
-      // TODO: Add a new endpoint in defender-sdk which includes contract ABI and NatSpec
-      const contracts = await getProposalClient(this.teamKey!).listContracts();
+      const contracts = await getProposalClient(this.teamKey!).listContracts({ includeAbi: true });
 
       const retrieveExisting = () => client.list().then((r) => r.items);