Skip to content

Commit 9e9e98a

Browse files
committed
chore: fix some typos
1 parent 47169b3 commit 9e9e98a

File tree

9 files changed

+23
-32
lines changed

9 files changed

+23
-32
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,5 @@ jobs:
104104
- uses: actions/checkout@v4
105105
- uses: crate-ci/[email protected]
106106
with:
107-
config: ./Typos.toml
107+
config: ./typos.toml
108108
isolated: true
109-

Typos.toml

Lines changed: 0 additions & 13 deletions
This file was deleted.

bins/revme/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
115115
## [0.2.1](https://github.com/bluealloy/revm/compare/revme-v0.2.0...revme-v0.2.1) - 2024-02-07
116116

117117
### Added
118-
- tweeks for v4.0 revm release ([#1048](https://github.com/bluealloy/revm/pull/1048))
118+
- tweaks for v4.0 revm release ([#1048](https://github.com/bluealloy/revm/pull/1048))
119119
- *(revme)* make it runnable by goevmlab ([#990](https://github.com/bluealloy/revm/pull/990))
120120
- EvmBuilder and External Contexts ([#888](https://github.com/bluealloy/revm/pull/888))
121121
- Loop call stack ([#851](https://github.com/bluealloy/revm/pull/851))

crates/interpreter/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
233233
Iterpreter will not be called in recursive calls but would return Action ( CALL/CREATE) that will be executed by the main loop.
234234

235235
### Added
236-
- tweeks for v4.0 revm release ([#1048](https://github.com/bluealloy/revm/pull/1048))
236+
- tweaks for v4.0 revm release ([#1048](https://github.com/bluealloy/revm/pull/1048))
237237
- add `BytecodeLocked::original_bytecode` ([#1037](https://github.com/bluealloy/revm/pull/1037))
238238
- *(op)* Ecotone hardfork ([#1009](https://github.com/bluealloy/revm/pull/1009))
239239
- EvmBuilder and External Contexts ([#888](https://github.com/bluealloy/revm/pull/888))
@@ -377,7 +377,7 @@ Changelog:
377377
* d0038e3 - chore(deps): bump arbitrary from 1.2.3 to 1.3.0 (#428) (2 weeks ago) <dependabot[bot]>
378378
* dd0e227 - feat: Add all internals results to Halt (#413) (4 weeks ago) <rakita>
379379
* d8dc652 - fix(interpreter): halt on CreateInitcodeSizeLimit (#412) (4 weeks ago) <Roman Krasiuk>
380-
* a193d79 - chore: enabled primtive default feature in precompile (#409) (4 weeks ago) <Matthias Seitz>
380+
* a193d79 - chore: enabled primitive default feature in precompile (#409) (4 weeks ago) <Matthias Seitz>
381381
* 1720729 - chore: add display impl for Opcode (#406) (4 weeks ago) <Matthias Seitz>
382382
* 33bf8a8 - feat: use singular bytes for the jumpmap (#402) (4 weeks ago) <Bjerg>
383383
* 394e8e9 - feat: extend SuccessOrHalt (#405) (4 weeks ago) <Matthias Seitz>

crates/precompile/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,15 +262,15 @@ Promoting it to stable version, and i dont expect for precompiles to change in a
262262
# v0.4.0
263263
date: 20.1.2022
264264

265-
* Added feature for k256 lib. We now have choise to use bitcoin c lib and k256 for ecrecovery.
265+
* Added feature for k256 lib. We now have choice to use bitcoin c lib and k256 for ecrecovery.
266266

267267
# v0.3.0
268268

269269
* switch stacks H256 with U256
270270
* Error type is changed to `Return` in revm so it is in precompiles.
271271
# v0.2.0
272272

273-
Removed parity-crypto and use only needed secp256k1 lib. Added `ecrecover` feature to allow dissabling it for wasm windows builds.
273+
Removed parity-crypto and use only needed secp256k1 lib. Added `ecrecover` feature to allow disabling it for wasm windows builds.
274274

275275
# v0.1.0
276276

crates/precompile/src/bls12_381/utils.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ pub(super) fn extract_scalar_input(input: &[u8]) -> Result<blst_scalar, Precompi
8484

8585
/// Checks if the input is a valid big-endian representation of a field element.
8686
fn is_valid_be(input: &[u8; 48]) -> bool {
87-
for (i, modul) in input.iter().zip(MODULUS_REPR.iter()) {
88-
match i.cmp(modul) {
87+
for (i, modulo) in input.iter().zip(MODULUS_REPR.iter()) {
88+
match i.cmp(modulo) {
8989
Ordering::Greater => return false,
9090
Ordering::Less => return true,
9191
Ordering::Equal => continue,

crates/primitives/CHANGELOG.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6565
### Added
6666
- *(Precompiles)* Throw fatal error if c-kzg is disabled ([#1589](https://github.com/bluealloy/revm/pull/1589))
6767
- *(Prague)* Add EIP-7702 ([#1565](https://github.com/bluealloy/revm/pull/1565))
68-
- add helper function to mape EVMError's Database error variant ([#1567](https://github.com/bluealloy/revm/pull/1567))
68+
- add helper function to map EVMError's Database error variant ([#1567](https://github.com/bluealloy/revm/pull/1567))
6969

7070
### Other
7171
- *(README)* add rbuilder to used-by ([#1585](https://github.com/bluealloy/revm/pull/1585))
@@ -185,7 +185,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
185185
## [2.0.0](https://github.com/bluealloy/revm/compare/revm-primitives-v1.3.0...revm-primitives-v2.0.0) - 2024-02-07
186186

187187
### Added
188-
- tweeks for v4.0 revm release ([#1048](https://github.com/bluealloy/revm/pull/1048))
188+
- tweaks for v4.0 revm release ([#1048](https://github.com/bluealloy/revm/pull/1048))
189189
- *(op)* Ecotone hardfork ([#1009](https://github.com/bluealloy/revm/pull/1009))
190190
- *(revme)* make it runnable by goevmlab ([#990](https://github.com/bluealloy/revm/pull/990))
191191
- Convert optimism panic into graceful error ([#982](https://github.com/bluealloy/revm/pull/982))
@@ -343,7 +343,7 @@ One change:
343343
# v1.1.0
344344
date: 04.04.2023
345345

346-
Mosty utility functions, additional checks and convenience changes.
346+
Mostly utility functions, additional checks and convenience changes.
347347
Old bytecode that supported gas block was replaced with jumpmap only bitvec.
348348

349349
Changelog:
@@ -354,7 +354,7 @@ Changelog:
354354
* 3d8ca66 - feat: add Output::into_data (#420) (3 weeks ago) <Matthias Seitz>
355355
* dd0e227 - feat: Add all internals results to Halt (#413) (4 weeks ago) <rakita>
356356
* d8dc652 - fix(interpreter): halt on CreateInitcodeSizeLimit (#412) (4 weeks ago) <Roman Krasiuk>
357-
* a193d79 - chore: enabled primtive default feature in precompile (#409) (4 weeks ago) <Matthias Seitz>
357+
* a193d79 - chore: enabled primitive default feature in precompile (#409) (4 weeks ago) <Matthias Seitz>
358358
* 33bf8a8 - feat: use singular bytes for the jumpmap (#402) (4 weeks ago) <Bjerg>
359359
* 394e8e9 - feat: extend SuccessOrHalt (#405) (4 weeks ago) <Matthias Seitz>
360360
* cff1070 - Update readmdoc of `perf_analyse_created_bytecodes` (#404) (4 weeks ago) <rakita>
@@ -382,4 +382,4 @@ Changelog:
382382
# v1.0.0
383383
date: 29.01.2023
384384

385-
Interpreter was extracted from main revm crate at the revm v3.0.0 version.
385+
Interpreter was extracted from main revm crate at the revm v3.0.0 version.

crates/revm/CHANGELOG.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ Few major renaming: EVMImpl to Evm, EVM to EvmFactory and EVMData to EvmContext.
282282
### Added
283283
- *(handler)* Change spec id on &mut ([#1055](https://github.com/bluealloy/revm/pull/1055))
284284
- *(Handler)* add push and pop of hanler registers ([#1053](https://github.com/bluealloy/revm/pull/1053))
285-
- tweeks for v4.0 revm release ([#1048](https://github.com/bluealloy/revm/pull/1048))
285+
- tweaks for v4.0 revm release ([#1048](https://github.com/bluealloy/revm/pull/1048))
286286
- *(op)* Ecotone hardfork ([#1009](https://github.com/bluealloy/revm/pull/1009))
287287
- *(inspector)* Share call/create inputs in Inspector call_end/create_end ([#1003](https://github.com/bluealloy/revm/pull/1003))
288288
- Convert optimism panic into graceful error ([#982](https://github.com/bluealloy/revm/pull/982))
@@ -446,7 +446,7 @@ Full git log:
446446
* 175aaec - Removed the last dependencies breaking no-std build. (#669) (4 weeks ago) <Lucas Clemente Vella>
447447
* 4272535 - fix(state): retain destroyed account status on bundle extend (#667) (4 weeks ago) <rakita>
448448
* bef9edd - chore(state): bundle retention (#666) (4 weeks ago) <Roman Krasiuk>
449-
* 1053d0e - fix(state): Regresion, remove present info on selfdestruct (#664) (4 weeks ago) <rakita>
449+
* 1053d0e - fix(state): Regression, remove present info on selfdestruct (#664) (4 weeks ago) <rakita>
450450
* 6c4cd31 - feat: add BundleState::revert_latest (#661) (4 weeks ago) <Matthias Seitz>
451451
* fd2cc88 - fix(state): state transition regression (#662) (4 weeks ago) <Roman Krasiuk>
452452
* c14f8a9 - feat(state): add a flag allowing transition merge without reverts (#657) (4 weeks ago) <Roman Krasiuk>
@@ -574,7 +574,7 @@ Changelogs:
574574
* dd0e227 - feat: Add all internals results to Halt (#413) (4 weeks ago) <rakita>
575575
* d8dc652 - fix(interpreter): halt on CreateInitcodeSizeLimit (#412) (4 weeks ago) <Roman Krasiuk>
576576
* b1208fe - feat: add contract+target to selfdestruct hook (#410) (4 weeks ago) <Matthias Seitz>
577-
* a193d79 - chore: enabled primtive default feature in precompile (#409) (4 weeks ago) <Matthias Seitz>
577+
* a193d79 - chore: enabled primitive default feature in precompile (#409) (4 weeks ago) <Matthias Seitz>
578578
* f2656b7 - chore: add primitive SpecId to precompile SpecId conversion (#408) (4 weeks ago) <Matthias Seitz>
579579
* 1720729 - chore: add display impl for Opcode (#406) (4 weeks ago) <Matthias Seitz>
580580
* 33bf8a8 - feat: use singular bytes for the jumpmap (#402) (4 weeks ago) <Bjerg>
@@ -811,7 +811,7 @@ Changes:
811811
# v1.1.0
812812
date: 14.1.2022
813813

814-
There is bug introduced in last release with gas blcok optimization, it will crash revm if anywhere in contract is unknown OpCode. And now returning log after execution (ups) included them in eth/tests verification.
814+
There is bug introduced in last release with gas block optimization, it will crash revm if anywhere in contract is unknown OpCode. And now returning log after execution (ups) included them in eth/tests verification.
815815

816816
Changes:
817817
* Bug fix for unknown OpCode
@@ -848,7 +848,7 @@ Changes:
848848
* clippy/warnings/fmt cleanup
849849
* Bump auto_impl to v0.5
850850
* opcode renaming
851-
* Gas measurment can be removed with rust features.
851+
* Gas measurement can be removed with rust features.
852852

853853
# v0.4.1
854854
date: 02.11.2021

typos.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[default]
2+
extend-ignore-identifiers-re = ["[sS]imular", "ba"]
3+
4+
[files]
5+
extend-exclude = ["CHANGELOG.md", "tests"]

0 commit comments

Comments
 (0)