-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: incomplete refactor oops * fix: incomplete refactor oops * feat: import more stuff to data module * fix: incomplete refactor oops * fix: incomplete refactor oops * fix: broken import * fix: broken import * fix: broken import * chore: `black .` * chore: bump version to 0.1.0 --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
da77315
commit e3d9293
Showing
22 changed files
with
126 additions
and
62 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
File renamed without changes.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
from typing import Union | ||
|
||
from evmspec.trace import call, create, reward, suicide | ||
from evmspec.structs.trace import call, create, reward, suicide | ||
|
||
FilterTrace = Union[call.Trace, create.Trace, reward.Trace, suicide.Trace] | ||
"""A type alias for filtering trace types. | ||
FilterTrace is a Union of the following trace types: | ||
- :class:`evmspec.trace.call.Trace` | ||
- :class:`evmspec.trace.create.Trace` | ||
- :class:`evmspec.trace.reward.Trace` | ||
- :class:`evmspec.trace.suicide.Trace` | ||
- :class:`evmspec.structs.trace.call.Trace` | ||
- :class:`evmspec.structs.trace.create.Trace` | ||
- :class:`evmspec.structs.trace.reward.Trace` | ||
- :class:`evmspec.structs.trace.suicide.Trace` | ||
Examples: | ||
You can use `FilterTrace` to specify a variable that can hold any of the trace types: | ||
>>> from evmspec.trace import FilterTrace | ||
>>> from evmspec.structs.trace import FilterTrace | ||
>>> trace: FilterTrace = call.Trace(...) | ||
>>> trace = create.Trace(...) | ||
>>> trace = reward.Trace(...) | ||
>>> trace = suicide.Trace(...) | ||
See Also: | ||
- :class:`evmspec.trace.call.Trace` | ||
- :class:`evmspec.trace.create.Trace` | ||
- :class:`evmspec.trace.reward.Trace` | ||
- :class:`evmspec.trace.suicide.Trace` | ||
- :class:`evmspec.structs.trace.call.Trace` | ||
- :class:`evmspec.structs.trace.create.Trace` | ||
- :class:`evmspec.structs.trace.reward.Trace` | ||
- :class:`evmspec.structs.trace.suicide.Trace` | ||
""" | ||
|
||
__all__ = ["call", "create", "reward", "suicide", "FilterTrace"] |
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
Oops, something went wrong.