Skip to content

Commit

Permalink
Update CONTRIBUTING.md (#6838)
Browse files Browse the repository at this point in the history
fix typo

Co-authored-by: Oleksii Kosynskyi <oleksii.kosynskyi@gmail.com>
  • Loading branch information
destinyae and avkos committed Feb 28, 2024
1 parent 35cb1b8 commit b25b883
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/CONTRIBUTING.md
@@ -1,10 +1,10 @@
# Contributing

Thank you for contributing to web3.js! We appreciate your interest and welcome any contributions that can help improve our documentation, functionality, addressing bugs, or any other aspects that can contribute to the overall improvement of our project. Before you start contributing, please take a moment to review the guidelines below.
Thank you for contributing to Web3.js! We appreciate your interest and welcome any contributions that can help improve our documentation, functionality, address bugs, or any other aspects that can contribute to the overall improvement of our project. Before you start contributing, please take a moment to review the guidelines below.

## Help and Support

If you face any issues while contributing, or you want any type of support, we encourage you to join our [Discord Community](https://discord.com/invite/3shNX8cqGR) and ask any question in the `#web3js-general` channel, and/or submit a [New Issue](https://github.com/web3/web3.js/issues/new).
If you face any issues while contributing or want any type of support, we encourage you to join our [Discord Community](https://discord.com/invite/3shNX8cqGR), ask any question in the `#web3js-general` channel, and/or submit a [new issue](https://github.com/web3/web3.js/issues/new).

## Prerequisites

Expand All @@ -15,12 +15,12 @@ If you face any issues while contributing, or you want any type of support, we e

1. **Fork the docs:** Start by forking our repository to your GitHub account.

2. **Clone the repo:** Clone the forked repository to your local machine using the following command
2. **Clone the repo:** Clone the forked repository to your local machine using the following command:
```bash
git clone https://github.com/your-username/web3.js.git
```
3. **Create a Branch:** Create a new branch for your changes with a descriptive name.
**NOTE: The branch name must include the issue number (if there is no issue created for your contribution, please create one)**
**NOTE: The branch name must include the issue number (if there is no issue created for your contribution, please create one).**
```bash
git checkout -b issue-name-1234
```
Expand All @@ -32,7 +32,7 @@ yarn
```
6. **Make your changes:**...

7. Check changes in local environment: Run the command `yarn start` and you'll see a local environment in `localhost:3000` with the docs
7. Check changes in the local environment: Run the command `yarn start` and you'll see a local environment in `localhost:3000` with the documents.

8. **Commit your changes:** `git add .` and `git commit -m 'descriptive msg'`

Expand All @@ -41,9 +41,9 @@ yarn
git push origin branch-name
```

10. **Open a Pull request(PR):** Provide a detailed description of your changes, the problem you are solving, and any additional context(you can use the PR template).
10. **Open a Pull Request (PR):** Provide a detailed description of your changes, the problem you are solving, and any additional context (you can use the PR template).

11. **Wait for review**: Before merging any branch into the main branch, it must be approved by 2 devs, after succesfully approved, you can `Squash and merge` your branch, Please be responsive to any feedback on your pull request and make necessary changes based on the review.
11. **Wait for review**: Before merging any branch into the main branch, it must be approved by two devs, after it is successfully approved, you can `Squash and merge` your branch, Please be responsive to any feedback on your pull request and make necessary changes based on the review.

## Guidelines for Pull Requests and Releases (Web3 4.x)

Expand All @@ -54,25 +54,25 @@ that **Web3 not break**.
### Pull Requests for substantive changes (e.g. everything except comments and docs)

1. Any PR that introduces a logic change should include tests. (In many cases, the tests will take more time to write than the actual code).
1. All PRs should sit for 72 hours with the `pleasereview` tag in order to garner feedback.
1. All PRs should sit for 72 hours with the `please review` tag to garner feedback.
1. No PR should be merged until it has been reviewed, passes CI, and all reviews' comments are
addressed.
1. PRs should:
1. have a narrow, well-defined focus.
1. make the smallest set of changes possible to achieve their goal.
1. include a clear description in the opening comment.
1. preserve the conventions and stylistic consistency of any files they modify.
1. Given the choice between a conservative change that mostly works and an adventurous change which seems better but introduces uncertainty - prefer the conservative change.
1. Given the choice between a conservative change that mostly works and an adventurous change that seems better but introduces uncertainty - prefer the conservative change.

### Reviews

The end goal of review is to suggest useful improvements to the author. Reviews should finish with approval unless there are issues that would result in:
The end goal of the review is to suggest useful improvements to the author. Reviews should finish with approval unless there are issues that would result in:

1. Buggy behaviour.
1. Buggy behavior.
1. Undue maintenance burden.
1. Pessimisation (i.e. speed reduction / meaningful build-size increases).
1. Pessimisation (i.e. speed reduction or meaningful build-size increases).
1. Feature reduction (i.e. it removes some aspect of functionality that users rely on).
1. Avoidable risk (i.e it's difficult to test or hard to anticipate the implications of, without
1. Avoidable risk (i.e. it's difficult to test or hard to anticipate the implications of, without
being strictly necessary to fix something broken).

Read more in [Review Guidelines](./REVIEW.md).
Expand All @@ -85,9 +85,9 @@ Read more in [Review Guidelines](./REVIEW.md).
1. Changes should trigger a new `rc` release and set the release clock back enough that reviewers have the time they need to test new changes.
1. Regular maintainers should manually test the `rc` against a Node project and the published
minified bundle in a browser context. An external reviewer should verify they've done the same.
1. A release PR must be approved at least by two known contributors of the web3.js project.
1. A release PR must be approved at least by two known contributors to the web3.js project.

Read more in [Release Guidelines](./RELEASE.md).
Read more in the [Release Guidelines](./RELEASE.md).

### Emergencies

Expand Down

1 comment on commit b25b883

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: b25b883 Previous: 6c075db Ratio
processingTx 9707 ops/sec (±3.64%) 9301 ops/sec (±4.81%) 0.96
processingContractDeploy 40578 ops/sec (±6.79%) 39129 ops/sec (±7.62%) 0.96
processingContractMethodSend 20439 ops/sec (±6.66%) 19443 ops/sec (±5.19%) 0.95
processingContractMethodCall 40798 ops/sec (±6.37%) 38971 ops/sec (±6.34%) 0.96
abiEncode 48179 ops/sec (±6.66%) 44252 ops/sec (±6.92%) 0.92
abiDecode 33922 ops/sec (±6.56%) 30419 ops/sec (±8.89%) 0.90
sign 1726 ops/sec (±0.98%) 1656 ops/sec (±4.08%) 0.96
verify 374 ops/sec (±2.85%) 373 ops/sec (±0.78%) 1.00

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.