-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: update configuration files (#44)
* build: update configuration files * ci: use reusable workflows * build: add prepare-artifacts shell script * build: set optimizer runs to 10,000 in optimized profile build: increase the number of runs and the depth in invariant default profile chore: remove deployments from .gitignore --------- Co-authored-by: andreivladbrg <[email protected]>
- Loading branch information
1 parent
9e2af6c
commit 629a864
Showing
13 changed files
with
160 additions
and
174 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ broadcast | |
cache | ||
coverage | ||
docs | ||
lib | ||
node_modules | ||
out | ||
out-optimized | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
codecov: | ||
require_ci_to_pass: false | ||
comment: false | ||
coverage: | ||
status: | ||
patch: off | ||
ignore: | ||
- "precompiles" | ||
- "script" | ||
- "test" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,71 @@ | ||
{ | ||
"name": "@sablier/v2-open-ended", | ||
"description": "Open ended smart contracts of the Sablier V2 token streaming protocol", | ||
"license": "BUSL-1.1", | ||
"version": "1.0.0", | ||
"author": { | ||
"name": "Sablier Labs Ltd", | ||
"url": "https://sablier.com" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/sablier-labs/v2-open-ended/issues" | ||
}, | ||
"dependencies": { | ||
"@openzeppelin/contracts": "5.0.2", | ||
"@prb/math": "github:PaulRBerg/prb-math#a111d11" | ||
"@prb/math": "github:PaulRBerg/prb-math#16419e5" | ||
}, | ||
"devDependencies": { | ||
"forge-std": "github:foundry-rs/forge-std#v1.8.1", | ||
"prettier": "3.0.0", | ||
"solhint": "^4.0.0" | ||
}, | ||
"files": [ | ||
"artifacts", | ||
"precompiles", | ||
"src", | ||
"LICENSE-GPL.md" | ||
], | ||
"keywords": [ | ||
"asset-distribution", | ||
"asset-streaming", | ||
"blockchain", | ||
"cryptoasset-streaming", | ||
"ethereum", | ||
"forge", | ||
"foundry", | ||
"money-streaming", | ||
"real-time-finance", | ||
"payroll", | ||
"sablier", | ||
"smart-contracts", | ||
"solidity", | ||
"template" | ||
"token-distribution", | ||
"token-streaming", | ||
"web3" | ||
], | ||
"peerDependencies": { | ||
"@prb/math": "4.0.x" | ||
}, | ||
"private": true, | ||
"publishConfig": { | ||
"access": "restricted" | ||
}, | ||
"scripts": { | ||
"clean": "rm -rf cache out", | ||
"build": "forge build", | ||
"build:optimized": "FOUNDRY_PROFILE=optimized forge build", | ||
"clean": "rm -rf artifacts broadcast cache docs out out-optimized out-svg", | ||
"gas:report": "forge test --gas-report --mp \"./test/integration/**/*.sol\" --nmt \"test(Fuzz)?_RevertWhen_\\w{1,}?\"", | ||
"gas:snapshot": "forge snapshot --mp \"./test/integration/**/*.sol\" --nmt \"test(Fuzz)?_RevertWhen_\\w{1,}?\"", | ||
"gas:snapshot:optimized": "bun run build:optimized && FOUNDRY_PROFILE=test-optimized forge snapshot --mp \"./test/integration/**/*.sol\" --nmt \"test(Fork)?(Fuzz)?_RevertWhen_\\w{1,}?\"", | ||
"lint": "bun run lint:sol && bun run prettier:check", | ||
"lint:sol": "forge fmt --check && bun solhint {script,src,test}/**/*.sol", | ||
"prettier:check": "prettier --check **/*.{json,md,yml} --ignore-path=.prettierignore", | ||
"prettier:write": "prettier --write **/*.{json,md,yml} --ignore-path=.prettierignore", | ||
"lint:sol": "forge fmt --check && bun solhint \"{precompiles,script,src,test}/**/*.sol\"", | ||
"prepack": "bun install && bash ./shell/prepare-artifacts.sh", | ||
"prettier:check": "prettier --check \"**/*.{json,md,svg,yml}\"", | ||
"prettier:write": "prettier --write \"**/*.{json,md,svg,yml}\"", | ||
"test": "forge test", | ||
"test:coverage": "forge coverage", | ||
"test:coverage:report": "forge coverage --report lcov && genhtml lcov.info --branch-coverage --output-dir coverage" | ||
"test:coverage:report": "forge coverage --report lcov && genhtml lcov.info --branch-coverage --output-dir coverage", | ||
"test:lite": "FOUNDRY_PROFILE=lite forge test", | ||
"test:optimized": "bun run build:optimized && FOUNDRY_PROFILE=test-optimized forge test" | ||
} | ||
} |
Oops, something went wrong.