Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit b3ee417

Browse files
authored
Various Typo Fixes (#7413)
Replaces #7408, #7409, #7410, and #7411
1 parent acdb0c7 commit b3ee417

File tree

9 files changed

+29
-29
lines changed

9 files changed

+29
-29
lines changed

.github/CODE_OF_CONDUCT.md

+19-19
Original file line numberDiff line numberDiff line change
@@ -11,36 +11,36 @@ appearance, race, religion, or sexual identity and orientation.
1111

1212
## Our Standards
1313

14-
Examples of behaviour that contributes to creating a positive environment
14+
Examples of behavior that contributes to creating a positive environment
1515
include:
1616

17-
* Using welcoming and inclusive language
18-
* Being respectful of differing viewpoints and experiences
19-
* Gracefully accepting constructive criticism
20-
* Focusing on what is best for the community
21-
* Showing empathy towards other community members
17+
- Using welcoming and inclusive language
18+
- Being respectful of differing viewpoints and experiences
19+
- Gracefully accepting constructive criticism
20+
- Focusing on what is best for the community
21+
- Showing empathy towards other community members
2222

23-
Examples of unacceptable behaviour by participants include:
23+
Examples of unacceptable behavior by participants include:
2424

25-
* The use of sexualized language or imagery and unwelcome sexual attention or
26-
advances
27-
* Trolling, insulting/derogatory comments, and personal or political attacks
28-
* Public or private harassment
29-
* Publishing others' private information, such as a physical or electronic
30-
address, without explicit permission
31-
* Other conduct which could reasonably be considered inappropriate in a
32-
professional setting
25+
- The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
- Trolling, insulting/derogatory comments, and personal or political attacks
28+
- Public or private harassment
29+
- Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
- Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
3333

3434
## Our Responsibilities
3535

3636
Project maintainers are responsible for clarifying the standards of acceptable
37-
behaviour and are expected to take appropriate and fair corrective action in
38-
response to any instances of unacceptable behaviour.
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
3939

4040
Project maintainers have the right and responsibility to remove, edit, or
4141
reject comments, commits, code, wiki edits, issues, and other contributions
4242
that are not aligned to this Code of Conduct, or to ban temporarily or
43-
permanently any contributor for other behaviours that they deem inappropriate,
43+
permanently any contributor for other behaviors that they deem inappropriate,
4444
threatening, offensive, or harmful.
4545

4646
## Scope
@@ -73,4 +73,4 @@ available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.ht
7373
[homepage]: https://www.contributor-covenant.org
7474

7575
For answers to common questions about this code of conduct, see
76-
https://www.contributor-covenant.org/faq
76+
https://www.contributor-covenant.org/faq

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2501,7 +2501,7 @@ If there are any bugs, improvements, optimizations or any new feature proposal f
25012501
#### web3-validator
25022502

25032503
- The JSON schema conversion process now correctly assigns an id when the `abi.name` is not available, for example, in the case of public mappings. (#6981)
2504-
- `browser` entry point that was pointing to an non-existing bundle file was removed from `package.json` (#7015)
2504+
- `browser` entry point that was pointing to a non-existing bundle file was removed from `package.json` (#7015)
25052505

25062506
#### web3-core
25072507

docs/docs/guides/09_web3_config/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: 'Web3.js Config Guide'
66

77
## Configuration parameters
88

9-
There is list of configuration params that can be set for modifying behavior of different functions in web3.js packages. Following is list of configuration options with details:
9+
There is list of configuration parameters that can be set to modify the behavior of different functions in web3.js packages. Following is list of configuration options with details:
1010

1111
- [handleRevert](/guides/web3_config/#handlerevert)
1212
- [defaultAccount](/guides/web3_config/#defaultaccount)
@@ -33,7 +33,7 @@ There is list of configuration params that can be set for modifying behavior of
3333

3434
## Global level Config
3535

36-
There is option of modifying any of above-mentioned configuration parameter at global level when instantiating Web3, and it will be available to all packages.
36+
It is possible to modify any of the above-mentioned configuration parameter at the global level when instantiating a `Web3` object, and it will be available to all packages.
3737

3838
```ts
3939
import { Web3 } from 'web3';

docs/docs/guides/10_web3_eth/eth.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ async function test() {
674674

675675
## Conclusion
676676

677-
In this tutorial, we learned how to use different methods provied by the `web3-eth` package.
677+
In this tutorial, we learned how to use different methods provided by the `web3-eth` package.
678678

679679
With this knowledge, you can start experimenting with the Ethereum blockchain. Keep in mind that this is just the beginning, and there is a lot more to learn about Ethereum and web3.js. So keep exploring and building, and have fun!
680680

docs/docs/guides/12_web3_utils_module/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ console.log(web3.utils.soliditySha3({ type: 'string', value: 'hello web3' }));
199199
console.log(web3.utils.toChecksumAddress('0xa3286628134bad128faeef82f44e99aa64085c94'));
200200
// 0xA3286628134baD128faeef82F44e99AA64085C94
201201

202-
// passing an wrong address
202+
// passing a wrong address
203203
console.log(web3.utils.toChecksumAddress('0xa3286628134bad128faeef82f44e99aa64085c9'));
204204
// InvalidAddressError: Invalid value given "0xa286628134bad128faeef82f44e99aa64085c94". Error: invalid ethereum address.
205205
```
@@ -246,7 +246,7 @@ console.log(web3.utils.compareBlockNumbers(2, 2));
246246

247247
### Formatting
248248

249-
The [`format` function](/api/web3-utils/function/format) in the `web3-utils` package is used to convert data between equivalent formats. For example, bytes that are represented as a [`Uint8Array` type](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array) can be formatted as a hexademical string (e.g. `"0xdd"`) or primitive JavaScript [`Number` types](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number) can be formatted as [`BigInt` types](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt). The `format` function expects two required parameters, `schema` and `data`, and accepts a third optional parameter, `returnFormat`. The `schema` parameter is used to describe how the data should be interpreted. The `data` parameter represents the data that is to be formatted. The [`returnFormat` parameter](#return-formats) specifies how the data should be formatted.
249+
The [`format` function](/api/web3-utils/function/format) in the `web3-utils` package is used to convert data between equivalent formats. For example, bytes that are represented as a [`Uint8Array` type](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array) can be formatted as a hexadecimal string (e.g. `"0xdd"`) or primitive JavaScript [`Number` types](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number) can be formatted as [`BigInt` types](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt). The `format` function expects two required parameters, `schema` and `data`, and accepts a third optional parameter, `returnFormat`. The `schema` parameter is used to describe how the data should be interpreted. The `data` parameter represents the data that is to be formatted. The [`returnFormat` parameter](#return-formats) specifies how the data should be formatted.
250250

251251
Here are some example that demonstrate the use of the `format` function:
252252

docs/docs/guides/17_migration_from_other_libs/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ In web3.js:
326326
const web3 = new Web3(provider);
327327
const contract = new web3.eth.Contract(ABI, CONTRACT_ADDRESS);
328328

329-
// If the method was only to read form the Blockchain:
329+
// If the method was only to read from the blockchain:
330330
const result = await contract.methods.someFunction().call();
331331
// Or, if the method would need a transaction to be sent:
332332
const result = await contract.methods.someFunction().send();

packages/web3-account-abstraction/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ yarn add web3-account-abstraction
5353
| test:unit | Uses `jest` to run tests under `/test/unit` |
5454

5555
[docs]: https://docs.web3js.org/
56-
[repo]: https://github.com/web3/web3.js/tree/4.x/tools/web3-account-abstraction
56+
[repo]: https://github.com/web3/web3.js/tree/4.x/packages/web3-account-abstraction
5757
[npm-image]: https://img.shields.io/github/package-json/v/web3/web3.js/4.x?filename=tools%2Fweb3-account-abstraction%2Fpackage.json
5858
[npm-url]: https://npmjs.org/package/web3-account-abstraction
5959
[downloads-image]: https://img.shields.io/npm/dm/web3-account-abstraction?label=npm%20downloads

packages/web3-validator/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,6 @@ Documentation:
173173
### Fixed
174174

175175
- The JSON schema conversion process now correctly assigns an id when the `abi.name` is not available, for example, in the case of public mappings. (#6981)
176-
- `browser` entry point that was pointing to an non-existing bundle file was removed from `package.json` (#7015)
176+
- `browser` entry point that was pointing to a non-existing bundle file was removed from `package.json` (#7015)
177177

178178
## [Unreleased]

packages/web3/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ Documentation:
316316
#### web3-validator
317317

318318
- The JSON schema conversion process now correctly assigns an id when the `abi.name` is not available, for example, in the case of public mappings. (#6981)
319-
- `browser` entry point that was pointing to an non-existing bundle file was removed from `package.json` (#7015)
319+
- `browser` entry point that was pointing to a non-existing bundle file was removed from `package.json` (#7015)
320320

321321
#### web3-core
322322

0 commit comments

Comments
 (0)