From 9b95554a88d2a8485f8180254d0f6a493a593fda Mon Sep 17 00:00:00 2001 From: Sam Wilson Date: Tue, 10 Sep 2024 14:07:56 -0400 Subject: [PATCH] Bump docc version; fix undefined reference --- setup.cfg | 2 +- src/ethereum/genesis.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/setup.cfg b/setup.cfg index 169237ce8a..730939c928 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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 = diff --git a/src/ethereum/genesis.py b/src/ethereum/genesis.py index 57a62c5798..a7b515b309 100644 --- a/src/ethereum/genesis.py +++ b/src/ethereum/genesis.py @@ -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)