-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: record the entire actor state on invoke (#1954)
This change has two parts: 1. Record the _entire_ actor state on invoke. This will let us accurately determine the state, address, etc. of an actor at the time of invocation even if the transaction is later reverted. 2. Stop tracing non-"send" events. Specifically: - I've stopped tracing upgrades. They're not traditional "calls" and we'll want to handle them differently anyways. - Previously, we were tracing InvokeActor events for implicit constructor calls and upgrades. I've removed those as well as I want all InvokeActor events to be paired with some other event. This should finally give us enough information in Lotus to accurately translate an FVM trace into an EVM trace. Furthermore, the extra state we're recording in the InvokeActor event will be useful for debugging.
- Loading branch information
Showing
3 changed files
with
45 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters