Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove protocol fee #839

Merged
merged 4 commits into from
Mar 11, 2024
Merged

Remove protocol fee #839

merged 4 commits into from
Mar 11, 2024

Conversation

andreivladbrg
Copy link
Member

@andreivladbrg andreivladbrg commented Mar 7, 2024

As discussed in https://github.com/sablier-labs/company-discussions/discussions/2, this PR removes the protocol fees.

With this change, it was possible to remove:

  • SablierV2Comptroller contract
  • SablierV2Base contract

@andreivladbrg andreivladbrg force-pushed the refactor/remove-protocol-fee branch 2 times, most recently from 82c58dd to 898a290 Compare March 7, 2024 23:18
andreivladbrg and others added 3 commits March 9, 2024 18:57
refactor: remove comptroller
test: update tests accordingly

chore: update gas snapshot

test: remove outdated comments
@smol-ninja smol-ninja force-pushed the refactor/remove-protocol-fee branch from 2eff927 to 0e218d7 Compare March 9, 2024 18:59
Copy link
Member

@smol-ninja smol-ninja left a comment

Choose a reason for hiding this comment

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

Looks good. I have rebased from staging and added a commit: https://github.com/sablier-labs/v2-core/compare/2eff9279ab7429267448bbf8d4807b32b3addb16..0e218d7cf44e4f0f7daedd8c3cb4fe95b9395757 that removes unused imports and fixes some NatSpec. Kindly review before merging.

Copy link
Member

@PaulRBerg PaulRBerg left a comment

Choose a reason for hiding this comment

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

good job

Haven't looked at the tests but src looks good

src/interfaces/ISablierV2LockupDynamic.sol Outdated Show resolved Hide resolved
src/interfaces/ISablierV2LockupLinear.sol Outdated Show resolved Hide resolved
src/interfaces/ISablierV2Lockup.sol Show resolved Hide resolved
src/interfaces/ISablierV2LockupTranched.sol Outdated Show resolved Hide resolved
src/abstracts/SablierV2Lockup.sol Outdated Show resolved Hide resolved
src/libraries/Helpers.sol Outdated Show resolved Hide resolved
src/libraries/Helpers.sol Outdated Show resolved Hide resolved
src/types/DataTypes.sol Outdated Show resolved Hide resolved
src/types/DataTypes.sol Outdated Show resolved Hide resolved
src/types/DataTypes.sol Outdated Show resolved Hide resolved
@andreivladbrg
Copy link
Member Author

Looks good. I have rebased from staging and added a commit

thanks, the commit looks good

@andreivladbrg andreivladbrg merged commit c39f175 into staging Mar 11, 2024
7 of 9 checks passed
@smol-ninja smol-ninja deleted the refactor/remove-protocol-fee branch March 11, 2024 12:17
@andreivladbrg andreivladbrg self-assigned this Mar 24, 2024
andreivladbrg added a commit that referenced this pull request Jul 3, 2024
* refactor: remove protocol fee

refactor: remove comptroller
test: update tests accordingly

chore: update gas snapshot

test: remove outdated comments

* chore: update some inherited components comments

* refactor: remove unused imports and improve natspec

* docs: improve natspec

---------

Co-authored-by: smol-ninja <shubhamy2015@gmail.com>
andreivladbrg added a commit that referenced this pull request Jul 3, 2024
* refactor: remove protocol fee

refactor: remove comptroller
test: update tests accordingly

chore: update gas snapshot

test: remove outdated comments

* chore: update some inherited components comments

* refactor: remove unused imports and improve natspec

* docs: improve natspec

---------

Co-authored-by: smol-ninja <shubhamy2015@gmail.com>
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.

3 participants