Skip to content

Commit

Permalink
Bump docc version; fix undefined reference
Browse files Browse the repository at this point in the history
  • Loading branch information
SamWilsn committed Sep 30, 2024
1 parent a150464 commit 9b95554
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ tools =
platformdirs>=4.2,<5

doc =
docc>=0.2.0,<0.3.0
docc>=0.2.2,<0.3.0
fladrif>=0.2.0,<0.3.0

optimized =
Expand Down
4 changes: 1 addition & 3 deletions src/ethereum/genesis.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,7 @@ def get_genesis_configuration(genesis_file: str) -> GenesisConfiguration:

def hex_or_base_10_str_to_u256(balance: str) -> U256:
"""
Convert a string in either hexadecimal or base-10 to a [`U256`].
[`U256`]: ref:ethereum.base_types.U256
Convert a string in either hexadecimal or base-10 to a `U256`.
"""
if balance.startswith("0x"):
return hex_to_u256(balance)
Expand Down

0 comments on commit 9b95554

Please sign in to comment.