From 2cb0271b500ace70db44cb9e6013f2ae137675e2 Mon Sep 17 00:00:00 2001 From: solimander Date: Tue, 7 Feb 2023 16:21:42 -0700 Subject: [PATCH] Resolve "Do not know how to serialize a BigInt" --- hardhat/config.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hardhat/config.go b/hardhat/config.go index fbef9e9..b0e18e9 100644 --- a/hardhat/config.go +++ b/hardhat/config.go @@ -79,6 +79,9 @@ func (dp *DeploymentProvider) GetConfig(configName string, projectDir string) (* // Store value in our collection cache.push(value); } + if (typeof value === 'bigint') { + value = value.toString(); + } return value; }, '');