Skip to content

Commit

Permalink
Resolve "Do not know how to serialize a BigInt"
Browse files Browse the repository at this point in the history
  • Loading branch information
solimander committed Feb 7, 2023
1 parent 1a76184 commit 2cb0271
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hardhat/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}, '');
Expand Down

0 comments on commit 2cb0271

Please sign in to comment.