From 3e1d591c3b1ef7de219bf01a88023cc3ae8fe362 Mon Sep 17 00:00:00 2001 From: Jeff Doyle Date: Fri, 16 Sep 2022 15:39:31 -0700 Subject: [PATCH] PKG -- [fcl] Adds mainnet Interaction Template Audit contract to Interaction Template Utils (#1413) * PKG -- [fcl] Adds mainnet Interaction Template Audit contract to Interaction Template Utils * PKG -- [fcl] Adds mainnet Interaction Template Audit contract to Interaction Template Utils --- .changeset/short-llamas-kiss.md | 5 +++++ .../get-interaction-template-audits.js | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 .changeset/short-llamas-kiss.md diff --git a/.changeset/short-llamas-kiss.md b/.changeset/short-llamas-kiss.md new file mode 100644 index 000000000..e9feac369 --- /dev/null +++ b/.changeset/short-llamas-kiss.md @@ -0,0 +1,5 @@ +--- +"@onflow/fcl": patch +--- + +PKG -- [fcl] Adds mainnet Interaction Template Audit contract to Interaction Template Utils diff --git a/packages/fcl/src/interaction-template-utils/get-interaction-template-audits.js b/packages/fcl/src/interaction-template-utils/get-interaction-template-audits.js index 321459384..bb3bd08f2 100644 --- a/packages/fcl/src/interaction-template-utils/get-interaction-template-audits.js +++ b/packages/fcl/src/interaction-template-utils/get-interaction-template-audits.js @@ -58,10 +58,7 @@ export async function getInteractionTemplateAudits( "getInteractionTemplateAudits Error: Unable to determine address for FlowInteractionTemplateAudit contract. Set configuration for 'fcl.network' to 'mainnet' or 'testnet'" ) if (fclNetwork === "mainnet") { - FlowInteractionAuditContract = "" - throw new Error( - "getInteractionTemplateAudits Error: Not supported on MainNet in this release. MainNet support Coming Soon!" - ) + FlowInteractionAuditContract = "0xfd100e39d50a13e6" } else { FlowInteractionAuditContract = "0xf78bfc12d0a786dc" }