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

Run solidity tracing logic in EDR #5769

Merged
merged 9 commits into from
Sep 23, 2024

Conversation

fvictorio
Copy link
Member

@fvictorio fvictorio commented Sep 23, 2024

This PR updates EDR to the latest minor version and adapts the code so that solidity tracing is done on the EDR side.

Most of the changes in this PR are about deleting a lot of typescript code and replacing it with re-exports from EDR. Compare for example return-data.ts in main vs its content in this PR.

Almost all the changes under hardhat-core/src/internal/hardhat-network/ are like that.

Xanewok and others added 8 commits August 29, 2024 12:30
This removes the `MessageTrace` from the (experimental) public API and
only hides it behind our internal API, where it is used for stack trace
logic.

We want to move this type to Rust to decrease the overhead of the value
passing across the FFI and it would allow us to remove/not export this
type entirely from Rust when porting the stack trace logic.
Copy link

changeset-bot bot commented Sep 23, 2024

🦋 Changeset detected

Latest commit: 86ed8e5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
hardhat Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Sep 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hardhat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 23, 2024 11:10am

@github-actions github-actions bot added the status:ready This issue is ready to be worked on label Sep 23, 2024
@fvictorio fvictorio requested a review from a team September 23, 2024 11:02
@fvictorio fvictorio merged commit 5fb3095 into main Sep 23, 2024
108 checks passed
@fvictorio fvictorio deleted the refactor/clean-up-stack-trace-napi-squashed branch September 23, 2024 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready This issue is ready to be worked on
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants