Skip to content

Commit

Permalink
build: lower optimizer runs (#1117)
Browse files Browse the repository at this point in the history
* build: decrease the optimizer runs

chore: use 2.0.0 version in package json

* test: fix test_ConstructCreate2Salt test
  • Loading branch information
andreivladbrg authored Dec 12, 2024
1 parent c6de90c commit b5e32cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
]
gas_limit = 9223372036854775807
optimizer = true
optimizer_runs = 1000
optimizer_runs = 800
out = "out"
script = "script"
sender = "0x1804c8AB1F12E6bbf3894d4083f33e07309d1f38"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@sablier/lockup",
"description": "Core smart contracts of the Lockup token distribution protocol",
"license": "BUSL-1.1",
"version": "1.2.0",
"version": "2.0.0",
"author": {
"name": "Sablier Labs Ltd",
"url": "https://sablier.com"
Expand Down
2 changes: 1 addition & 1 deletion tests/utils/BaseScript.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ contract BaseScript_Test is StdAssertions {

function test_ConstructCreate2Salt() public view {
string memory chainId = block.chainid.toString();
string memory version = "1.2.0";
string memory version = "2.0.0";
string memory salt = string.concat("ChainID ", chainId, ", Version ", version);

bytes32 actualSalt = baseScript.constructCreate2Salt();
Expand Down

0 comments on commit b5e32cb

Please sign in to comment.