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

Order imports alphabetically #301

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

smol-ninja
Copy link
Member

No description provided.

@smol-ninja
Copy link
Member Author

@andreivladbrg lmk if imports look good with this.

@andreivladbrg andreivladbrg merged commit 2e0da7f into feat/tranched-campaign Mar 7, 2024
6 checks passed
@smol-ninja smol-ninja deleted the refactor/imports-order branch March 7, 2024 17:35
andreivladbrg added a commit that referenced this pull request Mar 11, 2024
* feat: implement SablierV2MerkleLockupLT contract

feat: add createMerkleLockupLT in SablierV2MerkleLockupFactory contract

* build: include Tranched contracts in prepare-artifacts

* chore: use plural for tranches percantages

docs: add requirements in createMerkleLockupLT natspec
chore: improve wording in explanatory comments

* fix: handle the case when protocol fee is greater than zero

test: add Merkle Lockup LT integration tests

* refactor: rename variables

test: add fork tests for Merkle Lockup LT

* test: remove unused import

test: use pragma >=0.8.22

* chore: add named arg in custom error

test: createMerkleLockupLT in factory
test: update Precompiles bytecode

* refactor: use plural in getter function

test: getTranchesWithPercentages function
test: update Precompiles bytecode

* feat: add CreateMerkleLockupLT in script
refactor: use maxCount in DeployProtocol script

* test: add LT fork tests for USDC and USDT

* ci: add fork tests to ci with 20 runs

* refactor: order imports alphabetically (#301)

* refactor: remove protocol fee handle in _calculateTranches

build: bump core
test: dry-fy fork tests
test: remove protocol fee tests in claim
test: add headers in MerkleLockup
test: emit the correct element in the assertEq
test:

* refactor: remove getTranchesWithPercentages test

* refactor: rename struct variable to unlockPercentage

chore: improve explanatory comments
test: fix fork test for MerkleLockupLT

* build: update lockfile

* docs: add unlock with percentages in Lockup Tranche
test: remove protocol feee branch from claim.tree

* refactor: rename variable to totalPercentage

* test: increase coverage by testing when there is a rounding error in
tranches' amounts calculation

* test: improve rounding error test in claim

* chore: be more precise in explanatory comment

---------

Co-authored-by: smol-ninja <[email protected]>
@PaulRBerg
Copy link
Member

I created a feature request for this in the Solhint repository:

protofire/solhint#571

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