Skip to content

Link to new contributing guide#867

Merged
maurelian merged 4 commits intodevelopfrom
matt/contributing-doc-dedupe
May 13, 2021
Merged

Link to new contributing guide#867
maurelian merged 4 commits intodevelopfrom
matt/contributing-doc-dedupe

Conversation

@gigamesh
Copy link
Copy Markdown
Contributor

@gigamesh gigamesh commented May 13, 2021

Link to new contributing guide

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented May 13, 2021

⚠️ No Changeset found

Latest commit: 5f70aa7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@gigamesh gigamesh requested a review from maurelian May 13, 2021 16:39
@gigamesh gigamesh changed the title Links to new contributing guide Link to new contributing guide May 13, 2021
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 13, 2021

Codecov Report

Merging #867 (5f70aa7) into develop (0d1ed67) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #867   +/-   ##
========================================
  Coverage    82.21%   82.21%           
========================================
  Files           48       48           
  Lines         1895     1895           
  Branches       303      303           
========================================
  Hits          1558     1558           
  Misses         337      337           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0d1ed67...5f70aa7. Read the comment docs.

Copy link
Copy Markdown
Contributor

@snario snario left a comment

Choose a reason for hiding this comment

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

We should remove this file in another couple of weeks, and just mention it in the README

@gigamesh
Copy link
Copy Markdown
Contributor Author

We should remove this file in another couple of weeks, and just mention it in the README

I actually just added the list of packages that only require a single reviewer. I'm thinking it makese sense for the monorepo & frontends repo to have their own contributing guides that sort of extend from the general guide. Thoughts?

@snario
Copy link
Copy Markdown
Contributor

snario commented May 13, 2021

In general it makes sense to mention those things, yup!

CONTRIBUTING.md Outdated
## Contributing in Issues

For any issue, there are fundamentally three ways an individual can contribute:
These packages only require 1 reviewer (all other packages require 2)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
These packages only require 1 reviewer (all other packages require 2)
## PR Review Requirements
These packages only require 1 reviewer (all other packages require 2 reviewers, unless the changes do not affect production or test code).

That's the intent of the guidelines, does that phrasing make sense?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

added!

@platocrat
Copy link
Copy Markdown
Contributor

updating this branch to up-to-date with develop

@maurelian maurelian self-requested a review May 13, 2021 19:36
@maurelian maurelian merged commit e1cc989 into develop May 13, 2021
@maurelian maurelian deleted the matt/contributing-doc-dedupe branch May 13, 2021 19:36
InoMurko pushed a commit to omgnetwork/optimism that referenced this pull request May 25, 2021
* Links to new contributing guide

* Adds 1 vs 2 reviewer list

* More detail

Co-authored-by: platocrat <37757724+platocrat@users.noreply.github.com>
theochap pushed a commit that referenced this pull request Dec 10, 2025
OptimismBot pushed a commit that referenced this pull request Feb 13, 2026
* feat: add V2 policy engine implementation

* chore: undo foundry.toml modification

* fix: stake function available if not allowlisted

* refactor: rename PolicyEngineStakingV2 -> PolicyEngineStaking

* refactor: remove stake function, add allowlist check when same beneficiary

* refactor: make peData functions arg uint128

* chore: add comments

* test: add fuzz testing

* test: max approval on setup

* refactor: remove helper function

* chore: make link not puasable

* feat: rename functions, add token to constructor

* feat: add deployment script

* fix: wrong foundry.toml
github-merge-queue bot pushed a commit that referenced this pull request Feb 24, 2026
* feat: policy engine staking

* feat: slots tests

* fix: pre-pr

* fix: linter

* fix: linter

* feat: inmutable contract

* fix: check link to self

* fix: natspec

* fix: make

* feat: improving code

* feat: improving code

* fix: lint

* fix: comments

* fix: comments

* feat: improving tests

* fix: linter

* fix: linter

* style: formatting

* style: formatting

* style: formatting

* feat polish improvments and comments

* feat: polish and comments

* feat: sender and fuzz

* fix: bugs and sender

* fix: natspec

* feat: policy engine refactor (#867)

* feat: add V2 policy engine implementation

* chore: undo foundry.toml modification

* fix: stake function available if not allowlisted

* refactor: rename PolicyEngineStakingV2 -> PolicyEngineStaking

* refactor: remove stake function, add allowlist check when same beneficiary

* refactor: make peData functions arg uint128

* chore: add comments

* test: add fuzz testing

* test: max approval on setup

* refactor: remove helper function

* chore: make link not puasable

* feat: rename functions, add token to constructor

* feat: add deployment script

* fix: wrong foundry.toml

* fix: pr (#868)

* chore: make owner address public

* refactor: rename data->stakingData

* docs: natspec

* refactor: improve checks

* fix: pre-pr

* fix: foundry.toml

* fix: comments and link

* chore: bump solidity version

* feat: add named members in mapping

* fix: revert contract creation on zero address

* refactor: reduce parameters size

* chore: undo unnecessary casting

* fix: revert on same beneficiary linking

* perf: optimize stake() sstores

* feat: add transferOwnership

* refactor: update stakedAmount after decrease

* chore: make change beneficiary pausable

* feat: unlink after allowance revoked

* refactor: remove linking concept and use beneficiary instead

* docs: improve natspec

* test: stake() after being revoked reverts

* feat: add ISemver

* fix: conflicts

* refactor: improve var naming

* test: transferOwnership

* refactor; vars naming

* chore: improve comments

* chore downgrade pragma

* fix: pre-pr

* fix: wrong foundry.toml

* chore: improve comments

* fix: ci failing

* fix: pre-pr

* fix: self allowlist

* feat: disable self-allowlist

* docs: improve natspec

---------

Co-authored-by: Chiin <77933451+0xChin@users.noreply.github.com>
Co-authored-by: 0xOneTony <112496816+0xOneTony@users.noreply.github.com>
Co-authored-by: OneTony <onetony@defi.sucks>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants