-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add keys (indexed fields aka topics) to the EventType (abi v2) (#1520)
* Add keys (indexed fields aka topics) to the EventType (abi v2) * Update starknet_py/abi/v2/shape.py Co-authored-by: Franciszek Job <[email protected]> --------- Co-authored-by: Franciszek Job <[email protected]>
- Loading branch information
1 parent
bfcdb20
commit 3ffc7d8
Showing
6 changed files
with
14 additions
and
5 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
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 |
---|---|---|
|
@@ -121,3 +121,4 @@ class EventType(CairoType): | |
|
||
name: str | ||
types: OrderedDict[str, CairoType] | ||
keys: List[str] |
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 |
---|---|---|
|
@@ -22,6 +22,7 @@ | |
"TestEnum", | ||
"TestOption", | ||
"TokenBridge", | ||
"l1_l2", | ||
], | ||
) | ||
def test_abi_parse(contract_name): | ||
|