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

feat(ci): implement add-new-ci-scripts #10

Merged
merged 5 commits into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .husky/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ stashed=true
if [[ $output == *"No local changes to save"* ]]; then
stashed=false
fi

forge build --sizes 2>&1 | sed -n '/Contract/,$p' > logs/contract-code-sizes.log
forge build --force --skip test/ script/ --sizes 2>&1 | sed -n '/Contract/,$p' > logs/contract-code-sizes.log
.husky/generate-layout.sh

git add logs
Expand Down
2 changes: 1 addition & 1 deletion logs/contract-code-sizes.log
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
| Strings | 0.086 | 24.49 |
| Token | 0.214 | 24.362 |
| Transfer | 0.166 | 24.41 |
| TransparentUpgradeableProxy | 2.188 | 22.388 |
| TransparentUpgradeableProxy | 2.068 | 22.508 |
| TransparentUpgradeableProxyV2 | 2.361 | 22.215 |
| console | 0.086 | 24.49 |
| console2 | 0.086 | 24.49 |
Expand Down
2 changes: 1 addition & 1 deletion logs/storage/Base.sol:CommonBase.log
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lib/foundry-deployment-kit/lib/forge-std/src/Base.sol:CommonBase:stdstore (storage_slot: 0) (offset: 0) (type: struct StdStorage) (numberOfBytes: 224)
lib/forge-std/src/Base.sol:CommonBase:stdstore (storage_slot: 0) (offset: 0) (type: struct StdStorage) (numberOfBytes: 224)
2 changes: 1 addition & 1 deletion logs/storage/Base.sol:ScriptBase.log
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lib/foundry-deployment-kit/lib/forge-std/src/Base.sol:ScriptBase:stdstore (storage_slot: 0) (offset: 0) (type: struct StdStorage) (numberOfBytes: 224)
lib/forge-std/src/Base.sol:ScriptBase:stdstore (storage_slot: 0) (offset: 0) (type: struct StdStorage) (numberOfBytes: 224)
2 changes: 1 addition & 1 deletion logs/storage/Base.sol:TestBase.log
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lib/foundry-deployment-kit/lib/forge-std/src/Base.sol:TestBase:stdstore (storage_slot: 0) (offset: 0) (type: struct StdStorage) (numberOfBytes: 224)
lib/forge-std/src/Base.sol:TestBase:stdstore (storage_slot: 0) (offset: 0) (type: struct StdStorage) (numberOfBytes: 224)

This file was deleted.

6 changes: 0 additions & 6 deletions logs/storage/InitTest.sol:InitTest.log

This file was deleted.

3 changes: 0 additions & 3 deletions logs/storage/Signers.sol:SignerUtils.log

This file was deleted.

4 changes: 2 additions & 2 deletions logs/storage/StdAssertions.sol:StdAssertions.log
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
lib/foundry-deployment-kit/lib/forge-std/src/StdAssertions.sol:StdAssertions:IS_TEST (storage_slot: 0) (offset: 0) (type: bool) (numberOfBytes: 1)
lib/foundry-deployment-kit/lib/forge-std/src/StdAssertions.sol:StdAssertions:_failed (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1)
lib/forge-std/src/StdAssertions.sol:StdAssertions:IS_TEST (storage_slot: 0) (offset: 0) (type: bool) (numberOfBytes: 1)
lib/forge-std/src/StdAssertions.sol:StdAssertions:_failed (storage_slot: 0) (offset: 1) (type: bool) (numberOfBytes: 1)
10 changes: 5 additions & 5 deletions logs/storage/StdChains.sol:StdChains.log
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
lib/foundry-deployment-kit/lib/forge-std/src/StdChains.sol:StdChains:stdChainsInitialized (storage_slot: 0) (offset: 0) (type: bool) (numberOfBytes: 1)
lib/foundry-deployment-kit/lib/forge-std/src/StdChains.sol:StdChains:chains (storage_slot: 1) (offset: 0) (type: mapping(string => struct StdChains.Chain)) (numberOfBytes: 32)
lib/foundry-deployment-kit/lib/forge-std/src/StdChains.sol:StdChains:defaultRpcUrls (storage_slot: 2) (offset: 0) (type: mapping(string => string)) (numberOfBytes: 32)
lib/foundry-deployment-kit/lib/forge-std/src/StdChains.sol:StdChains:idToAlias (storage_slot: 3) (offset: 0) (type: mapping(uint256 => string)) (numberOfBytes: 32)
lib/foundry-deployment-kit/lib/forge-std/src/StdChains.sol:StdChains:fallbackToDefaultRpcUrls (storage_slot: 4) (offset: 0) (type: bool) (numberOfBytes: 1)
lib/forge-std/src/StdChains.sol:StdChains:stdChainsInitialized (storage_slot: 0) (offset: 0) (type: bool) (numberOfBytes: 1)
lib/forge-std/src/StdChains.sol:StdChains:chains (storage_slot: 1) (offset: 0) (type: mapping(string => struct StdChains.Chain)) (numberOfBytes: 32)
lib/forge-std/src/StdChains.sol:StdChains:defaultRpcUrls (storage_slot: 2) (offset: 0) (type: mapping(string => string)) (numberOfBytes: 32)
lib/forge-std/src/StdChains.sol:StdChains:idToAlias (storage_slot: 3) (offset: 0) (type: mapping(uint256 => string)) (numberOfBytes: 32)
lib/forge-std/src/StdChains.sol:StdChains:fallbackToDefaultRpcUrls (storage_slot: 4) (offset: 0) (type: bool) (numberOfBytes: 1)
4 changes: 2 additions & 2 deletions logs/storage/StdCheats.sol:StdCheats.log
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
lib/foundry-deployment-kit/lib/forge-std/src/StdCheats.sol:StdCheats:gasMeteringOff (storage_slot: 0) (offset: 0) (type: bool) (numberOfBytes: 1)
lib/foundry-deployment-kit/lib/forge-std/src/StdCheats.sol:StdCheats:stdstore (storage_slot: 1) (offset: 0) (type: struct StdStorage) (numberOfBytes: 224)
lib/forge-std/src/StdCheats.sol:StdCheats:gasMeteringOff (storage_slot: 0) (offset: 0) (type: bool) (numberOfBytes: 1)
lib/forge-std/src/StdCheats.sol:StdCheats:stdstore (storage_slot: 1) (offset: 0) (type: struct StdStorage) (numberOfBytes: 224)
2 changes: 1 addition & 1 deletion logs/storage/StdCheats.sol:StdCheatsSafe.log
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lib/foundry-deployment-kit/lib/forge-std/src/StdCheats.sol:StdCheatsSafe:gasMeteringOff (storage_slot: 0) (offset: 0) (type: bool) (numberOfBytes: 1)
lib/forge-std/src/StdCheats.sol:StdCheatsSafe:gasMeteringOff (storage_slot: 0) (offset: 0) (type: bool) (numberOfBytes: 1)
Loading