Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
34a2282
Add CONTRIBUTING doc
emnul Jun 6, 2025
ccaa55d
Add CODE_OF_CONDUCT.md
emnul Jun 6, 2025
2e77ae3
Update readme
emnul Jun 6, 2025
a4f272c
Add config.yml to ISSUE_TEMPLATES folder
emnul Jun 7, 2025
875c0a3
Add compact compiler version badge to README
emnul Jun 7, 2025
5008f50
Update bug report
emnul Jun 7, 2025
380a19b
Add GUIDELINES.md
emnul Jun 7, 2025
6c4f6ff
Update pull request template
emnul Jun 7, 2025
e6a05d9
Add CONTRIBUTING.md
emnul Jun 7, 2025
3d0a9fc
Add SUPPORT.md
emnul Jun 7, 2025
f5d2a68
Rename issue templates, add additional templates
emnul Jun 7, 2025
96a4783
update file paths
emnul Jun 7, 2025
8e4253d
Remove dead links
emnul Jun 7, 2025
976e7cb
Remove labels from table, related links
emnul Jun 7, 2025
fb743fc
Reword sentence in SUPPORT.md
emnul Jun 12, 2025
f938bbe
Distinguish code review requirements for small vs large code changes
emnul Jun 12, 2025
c8beb53
Remove Compact conventions section and create issue for tracking
emnul Jun 12, 2025
bef1f5e
Fix broken link
emnul Jun 12, 2025
8ee6b1d
Fix formatting
emnul Jun 12, 2025
1a81d00
fix formatting
emnul Jun 12, 2025
6b6c140
Update heading level
emnul Jun 12, 2025
b190c49
Use asterisks for bullet points, end with periods
emnul Jun 12, 2025
bd915c1
Format CONTRIBUTING.md
emnul Jun 12, 2025
aa4d486
One sentence per line
emnul Jun 12, 2025
df29b36
Add more detail to TypeScript code quality tooling
emnul Jun 12, 2025
1eeab23
Split long line into smaller lines
emnul Jun 12, 2025
e4938c7
Update Code Style Section
emnul Jun 13, 2025
77331dd
Grammar / naming nit
emnul Jun 13, 2025
63e7e66
Remove Git Message Styleguide Section for now
emnul Jun 13, 2025
7eb0404
Update Documentation guidelines
emnul Jun 14, 2025
ad38891
Merge branch 'main' into add-contributing-guidelines
emnul Jul 15, 2025
ea129fb
Apply markdown formatting suggestions
emnul Jul 15, 2025
2211923
Remove references to CHANGELOG and test suite coverage
emnul Jul 15, 2025
2ca8ae6
Update refs Midnight -> Compact
emnul Jul 15, 2025
d800ae2
Merge branch 'main' into add-contributing-guidelines
emnul Jul 15, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 100 additions & 0 deletions .github/ISSUE_TEMPLATE/01_bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
name: "🐛 Bug Report"
description: Create a report to help us improve
title: "[Bug]: "
labels: ["bug", "triage"]
projects: ["OpenZeppelin/41"]

body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!

If you’re unsure whether the issue you’re having is a bug, you can post in [Discussions](https://github.com/OpenZeppelin/midnight-contracts/discussions) instead.

- type: checkboxes
id: prerequisites
attributes:
label: Prerequisites
description: Please ensure you have completed all of the following.
options:
- label: I have read the [Contributing Guidelines](https://github.com/OpenZeppelin/midnight-contracts/CONTRIBUTING.md#creating-an-issue).
required: true
- label: I agree to follow the [Code of Conduct](https://github.com/OpenZeppelin/midnight-contracts/CODE_OF_CONDUCT.md).
required: true
- label: I have searched for [existing issues](https://github.com/OpenZeppelin/midnight-contracts/issues) that already report this problem, without success.
required: true

- type: textarea
id: bug-steps
attributes:
label: What are the steps to reproduce this issue?
placeholder: |
1. Clone repo
2. Run `turbo compact`
3. …
4. See error
validations:
required: true

- type: textarea
id: bug-description
attributes:
label: What happens?
description: A clear and concise description of what the bug is.
validations:
required: true

- type: textarea
id: bug-expectation
attributes:
label: What were you expecting to happen?
description: A clear and concise description of what was supposed to happen.
validations:
required: true

- type: textarea
id: bug-logs
attributes:
label: Paste any relevant logs, error output, etc.
description: |
Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
(If it’s long, please paste to https://gist.github.com/ and insert the link here.)
render: shell

- type: textarea
id: bug-context
attributes:
label: Additional context
description: Add any other context you can provide about the problem here.

- type: input
id: reproduction-url
attributes:
label: Code Reproduction URL
description: |
Reproduce this issue in a blank [Compact starter application](https://github.com/midnightntwrk/example-counter/tree/main)

Reproductions must be minimal and focused around the specific problem you are experiencing. This is the best way to ensure this issue is triaged quickly. Issues without a code reproduction may be closed if the OpenZeppelin Team cannot reproduce the issue you are reporting.
placeholder: https://github.com/...
validations:
required: false

- type: markdown
attributes:
value: |
----

# Details of your setup

- type: dropdown
id: version
attributes:
label: Version
description: What version of Compact are you running?
options:
- 0.23.0 (Default)
default: 0
validations:
required: true

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
title: 'feat: '
labels: 'enhancement'
assignees: ''

---
Expand Down
7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE/03_CODEBASE_IMPROVEMENT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
name: Codebase improvement
about: Provide your feedback for the existing codebase. Suggest a better solution for algorithms, development tools, etc.
title: "dev: "
labels: "enhancement"
assignees: ""
---
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: OpenZeppelin Midnight Contracts Community Support
url: https://github.com/OpenZeppelin/midnight-contracts/discussions
about: Please ask and answer questions here.
22 changes: 19 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,32 @@
<!-- Consider opening an issue for discussion prior to submitting a PR. -->
<!-- New features will be merged faster if they were first discussed and designed with the team. -->

## Types of changes

What types of changes does your code introduce to OpenZeppelin Midnight Contracts?
_Put an `x` in the boxes that apply_

- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Documentation Update (if none of the other choices apply)

Fixes #??? <!-- Fill in with issue number -->

<!-- Describe the changes introduced in this pull request. -->
<!-- Include any context necessary for understanding the PR's purpose. -->

#### PR Checklist
## PR Checklist

<!-- Before merging the pull request all of the following must be complete. -->
<!-- Feel free to submit a PR or Draft PR even if some items are pending. -->
<!-- Some of the items may not apply. -->

- [ ] Tests
- [ ] Documentation
- [ ] I have read the [Contributing Guide](CONTRIBUTING.md)
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] I have added documentation of new methods and any new behavior or changes to existing behavior
- [ ] CI Workflows Are Passing

#### Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...
133 changes: 133 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
# Contributor Covenant Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, caste, color, religion, or sexual
identity and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the overall
community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or advances of
any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email address,
without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.

Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.

## Scope

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official email address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
[[email protected]][contact us].
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.

## Enforcement Guidelines

Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:

### 1. Correction

**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.

**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.

### 2. Warning

**Community Impact**: A violation through a single incident or series of
actions.

**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or permanent
ban.

### 3. Temporary Ban

**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.

**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.

### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within the
community.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.1, available at
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].

Community Impact Guidelines were inspired by
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].

For answers to common questions about this code of conduct, see the FAQ at
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
[https://www.contributor-covenant.org/translations][translations].

[homepage]: https://www.contributor-covenant.org
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
[Mozilla CoC]: https://github.com/mozilla/diversity
[FAQ]: https://www.contributor-covenant.org/faq
[translations]: https://www.contributor-covenant.org/translations
[contact us]: mailto:[email protected]
Loading
Loading