Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.42 KB

CONTRIBUTING.md

File metadata and controls

36 lines (23 loc) · 1.42 KB

Contributing to OpenZeppelin Foundry Upgrades

Contributions to OpenZeppelin Foundry Upgrades are welcome. Please review the information below to test out and contribute your changes.

Building and testing the project

Prerequisites

The following prerequisites are required to build the project locally:

After the prerequisites are installed, the commands below can be run from this project's root directory.

Installing dependencies

yarn install

The dependencies must be installed at least once before running the tests or linter.

Running tests

yarn test

Ensure that all tests pass. If you are adding new functionality, include testcases as appropriate.

Running linter

yarn lint

If linting errors or warnings occur, run yarn lint:fix to attempt to auto-fix issues. If there are remaining issues that cannot be auto-fixed, manually address them and re-run the command to ensure it passes.

Updating documentation

yarn docgen

Creating Pull Requests (PRs)

As a contributor, we ask that you fork this repository, work on your own fork and then submit pull requests. The pull requests will be reviewed and eventually merged into the main repo. See "Fork-a-Repo" for how this works.