Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.44 KB

Contribution.md

File metadata and controls

53 lines (36 loc) · 1.44 KB

Contribution Guidelines

Conventions

Commit Messages

  • Use present tense.
  • Max line length: header 50 characters, body 72 characters.

A short example

[#123] Problem: One-line summary of the problem

Solution: One-line summary of the solution.

A longer example

[#123] Problem: One-line summary of the problem

Solution: One-line summary of the solution.

Optionally a more detailed description of the problem using
multiple paragraphs or bullet points if desired.

Optionally a more detailed description of the solution using
multiple paragraphs or bullet points if desired.

Closes #121. [[If closing issues with commit]]
Closes #119.

These formats are inspired by suggestions in the Collective Code Construction Contract.

Code

  • Follow the Solidity style guide for all solidity code.
  • You can use solium to catch some issues with the solidity code: solium -d contracts/
  • Run pnpm run format to autoformat js/ts files, or better install a plugin for your editor. You can run pnpm run check-format to check if the formatting is okay.

Updating nixpkgs

To update nixpkgs.json to the latest commit on master or a specific rev

misc/update-nix        # for latest
misc/update-nix $rev   # specific commit

© 2019 OAX Foundation