Skip to content

Commit

Permalink
Merge pull request #358 from Chia-Network/header-block-type
Browse files Browse the repository at this point in the history
add missing type annotation of HeaderBlock
  • Loading branch information
arvidn authored Dec 26, 2023
2 parents 7ea74ea + f01f884 commit c921a93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions wheel/chia_rs.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1654,6 +1654,7 @@ class HeaderBlock:
transactions_filter: bytes
transactions_info: Optional[TransactionsInfo]
prev_header_hash: bytes32
prev_hash: bytes32
header_hash: bytes32
height: int
weight: int
Expand Down
1 change: 1 addition & 0 deletions wheel/generate_type_stubs.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ def parse_rust_source(filename: str) -> List[Tuple[str, List[str]]]:
],
"HeaderBlock": [
"prev_header_hash: bytes32",
"prev_hash: bytes32",
"header_hash: bytes32",
"height: int",
"weight: int",
Expand Down

0 comments on commit c921a93

Please sign in to comment.