diff --git a/repo_subpaths_for_grammar_check.md b/repo_subpaths_for_grammar_check.md index 9137f47b87..46a5848eda 100644 --- a/repo_subpaths_for_grammar_check.md +++ b/repo_subpaths_for_grammar_check.md @@ -21,7 +21,7 @@ Status legend: `[ ]` pending, `[~]` in progress, `[x]` complete - [x] `src/ethereum/forks/*/vm/precompiled_contracts/__init__.py`, `mapping.py` (~48 files) - [x] `src/ethereum/forks/*/vm/precompiled_contracts/ecrecover.py`, `sha256.py`, `ripemd160.py`, `identity.py` (~96 files) -- [ ] `src/ethereum/forks/*/vm/precompiled_contracts/modexp.py`, `alt_bn128.py` (~38 files) +- [x] `src/ethereum/forks/*/vm/precompiled_contracts/modexp.py`, `alt_bn128.py` (~38 files) - [ ] `src/ethereum/forks/*/vm/precompiled_contracts/blake2f.py` (~17 files) - [ ] `src/ethereum/forks/*/vm/precompiled_contracts/point_evaluation.py`, `p256verify.py` (~16 files) - [ ] `src/ethereum/forks/*/vm/precompiled_contracts/bls12_381/*.py` (~32 files) diff --git a/src/ethereum/forks/amsterdam/vm/precompiled_contracts/modexp.py b/src/ethereum/forks/amsterdam/vm/precompiled_contracts/modexp.py index 5e7e895b91..bf828ee8f6 100644 --- a/src/ethereum/forks/amsterdam/vm/precompiled_contracts/modexp.py +++ b/src/ethereum/forks/amsterdam/vm/precompiled_contracts/modexp.py @@ -22,7 +22,7 @@ def modexp(evm: Evm) -> None: """ - Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and. + Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and `modulus`. The return value is the same length as the modulus. """ data = evm.message.data diff --git a/src/ethereum/forks/arrow_glacier/vm/precompiled_contracts/modexp.py b/src/ethereum/forks/arrow_glacier/vm/precompiled_contracts/modexp.py index 462341f69f..755a396dda 100644 --- a/src/ethereum/forks/arrow_glacier/vm/precompiled_contracts/modexp.py +++ b/src/ethereum/forks/arrow_glacier/vm/precompiled_contracts/modexp.py @@ -23,7 +23,7 @@ def modexp(evm: Evm) -> None: """ - Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and. + Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and `modulus`. The return value is the same length as the modulus. """ data = evm.message.data diff --git a/src/ethereum/forks/berlin/vm/precompiled_contracts/modexp.py b/src/ethereum/forks/berlin/vm/precompiled_contracts/modexp.py index 462341f69f..755a396dda 100644 --- a/src/ethereum/forks/berlin/vm/precompiled_contracts/modexp.py +++ b/src/ethereum/forks/berlin/vm/precompiled_contracts/modexp.py @@ -23,7 +23,7 @@ def modexp(evm: Evm) -> None: """ - Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and. + Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and `modulus`. The return value is the same length as the modulus. """ data = evm.message.data diff --git a/src/ethereum/forks/bpo1/vm/precompiled_contracts/modexp.py b/src/ethereum/forks/bpo1/vm/precompiled_contracts/modexp.py index 5e7e895b91..bf828ee8f6 100644 --- a/src/ethereum/forks/bpo1/vm/precompiled_contracts/modexp.py +++ b/src/ethereum/forks/bpo1/vm/precompiled_contracts/modexp.py @@ -22,7 +22,7 @@ def modexp(evm: Evm) -> None: """ - Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and. + Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and `modulus`. The return value is the same length as the modulus. """ data = evm.message.data diff --git a/src/ethereum/forks/bpo2/vm/precompiled_contracts/modexp.py b/src/ethereum/forks/bpo2/vm/precompiled_contracts/modexp.py index 5e7e895b91..bf828ee8f6 100644 --- a/src/ethereum/forks/bpo2/vm/precompiled_contracts/modexp.py +++ b/src/ethereum/forks/bpo2/vm/precompiled_contracts/modexp.py @@ -22,7 +22,7 @@ def modexp(evm: Evm) -> None: """ - Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and. + Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and `modulus`. The return value is the same length as the modulus. """ data = evm.message.data diff --git a/src/ethereum/forks/bpo3/vm/precompiled_contracts/modexp.py b/src/ethereum/forks/bpo3/vm/precompiled_contracts/modexp.py index 5e7e895b91..bf828ee8f6 100644 --- a/src/ethereum/forks/bpo3/vm/precompiled_contracts/modexp.py +++ b/src/ethereum/forks/bpo3/vm/precompiled_contracts/modexp.py @@ -22,7 +22,7 @@ def modexp(evm: Evm) -> None: """ - Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and. + Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and `modulus`. The return value is the same length as the modulus. """ data = evm.message.data diff --git a/src/ethereum/forks/bpo4/vm/precompiled_contracts/modexp.py b/src/ethereum/forks/bpo4/vm/precompiled_contracts/modexp.py index 5e7e895b91..bf828ee8f6 100644 --- a/src/ethereum/forks/bpo4/vm/precompiled_contracts/modexp.py +++ b/src/ethereum/forks/bpo4/vm/precompiled_contracts/modexp.py @@ -22,7 +22,7 @@ def modexp(evm: Evm) -> None: """ - Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and. + Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and `modulus`. The return value is the same length as the modulus. """ data = evm.message.data diff --git a/src/ethereum/forks/bpo5/vm/precompiled_contracts/modexp.py b/src/ethereum/forks/bpo5/vm/precompiled_contracts/modexp.py index 5e7e895b91..bf828ee8f6 100644 --- a/src/ethereum/forks/bpo5/vm/precompiled_contracts/modexp.py +++ b/src/ethereum/forks/bpo5/vm/precompiled_contracts/modexp.py @@ -22,7 +22,7 @@ def modexp(evm: Evm) -> None: """ - Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and. + Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and `modulus`. The return value is the same length as the modulus. """ data = evm.message.data diff --git a/src/ethereum/forks/byzantium/vm/precompiled_contracts/modexp.py b/src/ethereum/forks/byzantium/vm/precompiled_contracts/modexp.py index fd0501616c..8ed5c851a7 100644 --- a/src/ethereum/forks/byzantium/vm/precompiled_contracts/modexp.py +++ b/src/ethereum/forks/byzantium/vm/precompiled_contracts/modexp.py @@ -23,7 +23,7 @@ def modexp(evm: Evm) -> None: """ - Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and. + Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and `modulus`. The return value is the same length as the modulus. """ data = evm.message.data diff --git a/src/ethereum/forks/cancun/vm/precompiled_contracts/modexp.py b/src/ethereum/forks/cancun/vm/precompiled_contracts/modexp.py index 462341f69f..755a396dda 100644 --- a/src/ethereum/forks/cancun/vm/precompiled_contracts/modexp.py +++ b/src/ethereum/forks/cancun/vm/precompiled_contracts/modexp.py @@ -23,7 +23,7 @@ def modexp(evm: Evm) -> None: """ - Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and. + Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and `modulus`. The return value is the same length as the modulus. """ data = evm.message.data diff --git a/src/ethereum/forks/constantinople/vm/precompiled_contracts/modexp.py b/src/ethereum/forks/constantinople/vm/precompiled_contracts/modexp.py index fd0501616c..8ed5c851a7 100644 --- a/src/ethereum/forks/constantinople/vm/precompiled_contracts/modexp.py +++ b/src/ethereum/forks/constantinople/vm/precompiled_contracts/modexp.py @@ -23,7 +23,7 @@ def modexp(evm: Evm) -> None: """ - Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and. + Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and `modulus`. The return value is the same length as the modulus. """ data = evm.message.data diff --git a/src/ethereum/forks/gray_glacier/vm/precompiled_contracts/modexp.py b/src/ethereum/forks/gray_glacier/vm/precompiled_contracts/modexp.py index 462341f69f..755a396dda 100644 --- a/src/ethereum/forks/gray_glacier/vm/precompiled_contracts/modexp.py +++ b/src/ethereum/forks/gray_glacier/vm/precompiled_contracts/modexp.py @@ -23,7 +23,7 @@ def modexp(evm: Evm) -> None: """ - Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and. + Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and `modulus`. The return value is the same length as the modulus. """ data = evm.message.data diff --git a/src/ethereum/forks/istanbul/vm/precompiled_contracts/modexp.py b/src/ethereum/forks/istanbul/vm/precompiled_contracts/modexp.py index fd0501616c..8ed5c851a7 100644 --- a/src/ethereum/forks/istanbul/vm/precompiled_contracts/modexp.py +++ b/src/ethereum/forks/istanbul/vm/precompiled_contracts/modexp.py @@ -23,7 +23,7 @@ def modexp(evm: Evm) -> None: """ - Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and. + Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and `modulus`. The return value is the same length as the modulus. """ data = evm.message.data diff --git a/src/ethereum/forks/london/vm/precompiled_contracts/modexp.py b/src/ethereum/forks/london/vm/precompiled_contracts/modexp.py index 462341f69f..755a396dda 100644 --- a/src/ethereum/forks/london/vm/precompiled_contracts/modexp.py +++ b/src/ethereum/forks/london/vm/precompiled_contracts/modexp.py @@ -23,7 +23,7 @@ def modexp(evm: Evm) -> None: """ - Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and. + Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and `modulus`. The return value is the same length as the modulus. """ data = evm.message.data diff --git a/src/ethereum/forks/muir_glacier/vm/precompiled_contracts/modexp.py b/src/ethereum/forks/muir_glacier/vm/precompiled_contracts/modexp.py index fd0501616c..8ed5c851a7 100644 --- a/src/ethereum/forks/muir_glacier/vm/precompiled_contracts/modexp.py +++ b/src/ethereum/forks/muir_glacier/vm/precompiled_contracts/modexp.py @@ -23,7 +23,7 @@ def modexp(evm: Evm) -> None: """ - Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and. + Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and `modulus`. The return value is the same length as the modulus. """ data = evm.message.data diff --git a/src/ethereum/forks/osaka/vm/precompiled_contracts/modexp.py b/src/ethereum/forks/osaka/vm/precompiled_contracts/modexp.py index 5e7e895b91..bf828ee8f6 100644 --- a/src/ethereum/forks/osaka/vm/precompiled_contracts/modexp.py +++ b/src/ethereum/forks/osaka/vm/precompiled_contracts/modexp.py @@ -22,7 +22,7 @@ def modexp(evm: Evm) -> None: """ - Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and. + Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and `modulus`. The return value is the same length as the modulus. """ data = evm.message.data diff --git a/src/ethereum/forks/paris/vm/precompiled_contracts/modexp.py b/src/ethereum/forks/paris/vm/precompiled_contracts/modexp.py index 462341f69f..755a396dda 100644 --- a/src/ethereum/forks/paris/vm/precompiled_contracts/modexp.py +++ b/src/ethereum/forks/paris/vm/precompiled_contracts/modexp.py @@ -23,7 +23,7 @@ def modexp(evm: Evm) -> None: """ - Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and. + Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and `modulus`. The return value is the same length as the modulus. """ data = evm.message.data diff --git a/src/ethereum/forks/prague/vm/precompiled_contracts/modexp.py b/src/ethereum/forks/prague/vm/precompiled_contracts/modexp.py index 462341f69f..755a396dda 100644 --- a/src/ethereum/forks/prague/vm/precompiled_contracts/modexp.py +++ b/src/ethereum/forks/prague/vm/precompiled_contracts/modexp.py @@ -23,7 +23,7 @@ def modexp(evm: Evm) -> None: """ - Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and. + Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and `modulus`. The return value is the same length as the modulus. """ data = evm.message.data diff --git a/src/ethereum/forks/shanghai/vm/precompiled_contracts/modexp.py b/src/ethereum/forks/shanghai/vm/precompiled_contracts/modexp.py index 462341f69f..755a396dda 100644 --- a/src/ethereum/forks/shanghai/vm/precompiled_contracts/modexp.py +++ b/src/ethereum/forks/shanghai/vm/precompiled_contracts/modexp.py @@ -23,7 +23,7 @@ def modexp(evm: Evm) -> None: """ - Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and. + Calculates `(base**exp) % modulus` for arbitrary sized `base`, `exp` and `modulus`. The return value is the same length as the modulus. """ data = evm.message.data