Skip to content

Commit

Permalink
PKG -- [fcl] Adds mainnet Interaction Template Audit contract to Inte…
Browse files Browse the repository at this point in the history
…raction 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
  • Loading branch information
JeffreyDoyle authored and huyndo committed Sep 24, 2022
1 parent 387f69f commit 3e1d591
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/short-llamas-kiss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@onflow/fcl": patch
---

PKG -- [fcl] Adds mainnet Interaction Template Audit contract to Interaction Template Utils
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit 3e1d591

Please sign in to comment.