Skip to content

Commit 0477966

Browse files
authored
docs: fix docs for calculate_block_difficulty (#1673)
1 parent a1d2a58 commit 0477966

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

src/ethereum/forks/arrow_glacier/fork.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,7 @@ def calculate_block_difficulty(
908908
set for the genesis block since it has no parent. So, a block
909909
can't be less difficult than the genesis block, therefore each block's
910910
difficulty is set to the maximum value between the calculated
911-
difficulty and the ``GENESIS_DIFFICULTY``.
911+
difficulty and the ``MINIMUM_DIFFICULTY``.
912912
913913
Parameters
914914
----------

src/ethereum/forks/berlin/fork.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ def calculate_block_difficulty(
793793
set for the genesis block since it has no parent. So, a block
794794
can't be less difficult than the genesis block, therefore each block's
795795
difficulty is set to the maximum value between the calculated
796-
difficulty and the ``GENESIS_DIFFICULTY``.
796+
difficulty and the ``MINIMUM_DIFFICULTY``.
797797
798798
Parameters
799799
----------

src/ethereum/forks/byzantium/fork.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ def calculate_block_difficulty(
770770
set for the genesis block since it has no parent. So, a block
771771
can't be less difficult than the genesis block, therefore each block's
772772
difficulty is set to the maximum value between the calculated
773-
difficulty and the ``GENESIS_DIFFICULTY``.
773+
difficulty and the ``MINIMUM_DIFFICULTY``.
774774
775775
Parameters
776776
----------

src/ethereum/forks/constantinople/fork.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ def calculate_block_difficulty(
770770
set for the genesis block since it has no parent. So, a block
771771
can't be less difficult than the genesis block, therefore each block's
772772
difficulty is set to the maximum value between the calculated
773-
difficulty and the ``GENESIS_DIFFICULTY``.
773+
difficulty and the ``MINIMUM_DIFFICULTY``.
774774
775775
Parameters
776776
----------

src/ethereum/forks/dao_fork/fork.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@ def calculate_block_difficulty(
776776
set for the genesis block since it has no parent. So, a block
777777
can't be less difficult than the genesis block, therefore each block's
778778
difficulty is set to the maximum value between the calculated
779-
difficulty and the ``GENESIS_DIFFICULTY``.
779+
difficulty and the ``MINIMUM_DIFFICULTY``.
780780
781781
Parameters
782782
----------

src/ethereum/forks/gray_glacier/fork.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,7 @@ def calculate_block_difficulty(
908908
set for the genesis block since it has no parent. So, a block
909909
can't be less difficult than the genesis block, therefore each block's
910910
difficulty is set to the maximum value between the calculated
911-
difficulty and the ``GENESIS_DIFFICULTY``.
911+
difficulty and the ``MINIMUM_DIFFICULTY``.
912912
913913
Parameters
914914
----------

src/ethereum/forks/homestead/fork.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ def calculate_block_difficulty(
758758
set for the genesis block since it has no parent. So, a block
759759
can't be less difficult than the genesis block, therefore each block's
760760
difficulty is set to the maximum value between the calculated
761-
difficulty and the ``GENESIS_DIFFICULTY``.
761+
difficulty and the ``MINIMUM_DIFFICULTY``.
762762
763763
Parameters
764764
----------

src/ethereum/forks/istanbul/fork.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ def calculate_block_difficulty(
770770
set for the genesis block since it has no parent. So, a block
771771
can't be less difficult than the genesis block, therefore each block's
772772
difficulty is set to the maximum value between the calculated
773-
difficulty and the ``GENESIS_DIFFICULTY``.
773+
difficulty and the ``MINIMUM_DIFFICULTY``.
774774
775775
Parameters
776776
----------

src/ethereum/forks/london/fork.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ def calculate_block_difficulty(
914914
set for the genesis block since it has no parent. So, a block
915915
can't be less difficult than the genesis block, therefore each block's
916916
difficulty is set to the maximum value between the calculated
917-
difficulty and the ``GENESIS_DIFFICULTY``.
917+
difficulty and the ``MINIMUM_DIFFICULTY``.
918918
919919
Parameters
920920
----------

src/ethereum/forks/muir_glacier/fork.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ def calculate_block_difficulty(
772772
set for the genesis block since it has no parent. So, a block
773773
can't be less difficult than the genesis block, therefore each block's
774774
difficulty is set to the maximum value between the calculated
775-
difficulty and the ``GENESIS_DIFFICULTY``.
775+
difficulty and the ``MINIMUM_DIFFICULTY``.
776776
777777
Parameters
778778
----------

0 commit comments

Comments
 (0)