-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Context to encapsulate debug ctx variants
A call frame holds a contract while a transaction script doesn't. This structural difference is specific for the transaction script context, and doesn't map the specifics of predicate calls - that should bring more variants. This commit introduces the `Context` type to encapsulate all of these variants.
- Loading branch information
Showing
1 changed file
with
186 additions
and
48 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