Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve "Couldn't read Hardhat config file" #133

Merged
merged 1 commit into from
Mar 30, 2023

Conversation

solimander
Copy link
Contributor

This PR fixes an issue where Tenderly throws Couldn't read Hardhat config file when attempting to use tenderly export against newer Hardhat versions.

The underlying error is: TypeError: Do not know how to serialize a BigInt. Hardhat now uses BigInts in its config, which are not serializable, so we must convert them to strings during the JSON.stringify call.

This is likely the cause of the failure seen in #110

@samholmes
Copy link

samholmes commented Mar 3, 2023

First attempt at using Tenderly CLI to export my hardhat transactions during development and it failed because of this error. I am blocked on using Tenderly until this is fixed. I'd patch myself, but that'd require that I build my own binary (which I don't want to get into if I don't have too).

Please someone review and publish a hotfix release!

@alexanderattar
Copy link

Bumping this as it seems to be the same issue I ran up against yesterday #139
Would appreciate if the fix could be made 🙏

@nebojsa94 nebojsa94 merged commit eb0c806 into Tenderly:master Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants