Skip to content

Commit

Permalink
chore: storage layout
Browse files Browse the repository at this point in the history
  • Loading branch information
huyhuynh3103 committed Jan 18, 2024
1 parent 30c1900 commit d7e9152
Show file tree
Hide file tree
Showing 26 changed files with 43 additions and 66 deletions.
2 changes: 2 additions & 0 deletions logs/contract-code-sizes.log
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
| HasValidatorDeprecated | 0.063 | 24.513 |
| IsolatedGovernance | 0.086 | 24.49 |
| JSONParserLib | 0.086 | 24.49 |
| LibArrayUtils | 0.086 | 24.49 |
| LibErrorHandler | 0.086 | 24.49 |
| LibProxy | 0.086 | 24.49 |
| LibSharedAddress | 0.086 | 24.49 |
Expand Down Expand Up @@ -58,6 +59,7 @@
| console | 0.086 | 24.49 |
| console2 | 0.086 | 24.49 |
| safeconsole | 0.086 | 24.49 |
| stdError | 0.591 | 23.985 |
| stdJson | 0.086 | 24.49 |
| stdMath | 0.086 | 24.49 |
| stdStorage | 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)
2 changes: 0 additions & 2 deletions logs/storage/Initializable.sol:Initializable 2.log

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions logs/storage/MinimumWithdrawal.sol:MinimumWithdrawal 2.log

This file was deleted.

2 changes: 0 additions & 2 deletions logs/storage/MockBridge.sol:MockBridge 2.log

This file was deleted.

2 changes: 0 additions & 2 deletions logs/storage/MockBridgeReward.sol:MockBridgeReward 2.log

This file was deleted.

1 change: 0 additions & 1 deletion logs/storage/MockBridgeSlash.sol:MockBridgeSlash 2.log

This file was deleted.

This file was deleted.

10 changes: 0 additions & 10 deletions logs/storage/MockERC20.sol:MockERC20 2.log

This file was deleted.

4 changes: 0 additions & 4 deletions logs/storage/NetworkConfig.sol:NetworkConfig 2.log

This file was deleted.

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

This file was deleted.

1 change: 0 additions & 1 deletion logs/storage/ProxyAdmin.sol:ProxyAdmin 2.log

This file was deleted.

8 changes: 0 additions & 8 deletions logs/storage/Script.sol:Script 2.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)
5 changes: 0 additions & 5 deletions logs/storage/StdChains.sol:StdChains 2.log

This file was deleted.

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)
2 changes: 0 additions & 2 deletions logs/storage/StdCheats.sol:StdCheats 2.log

This file was deleted.

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)
1 change: 0 additions & 1 deletion logs/storage/StdCheats.sol:StdCheatsSafe 2.log

This file was deleted.

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)
9 changes: 9 additions & 0 deletions logs/storage/StdInvariant.sol:StdInvariant.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
lib/forge-std/src/StdInvariant.sol:StdInvariant:_excludedContracts (storage_slot: 0) (offset: 0) (type: address[]) (numberOfBytes: 32)
lib/forge-std/src/StdInvariant.sol:StdInvariant:_excludedSenders (storage_slot: 1) (offset: 0) (type: address[]) (numberOfBytes: 32)
lib/forge-std/src/StdInvariant.sol:StdInvariant:_targetedContracts (storage_slot: 2) (offset: 0) (type: address[]) (numberOfBytes: 32)
lib/forge-std/src/StdInvariant.sol:StdInvariant:_targetedSenders (storage_slot: 3) (offset: 0) (type: address[]) (numberOfBytes: 32)
lib/forge-std/src/StdInvariant.sol:StdInvariant:_excludedArtifacts (storage_slot: 4) (offset: 0) (type: string[]) (numberOfBytes: 32)
lib/forge-std/src/StdInvariant.sol:StdInvariant:_targetedArtifacts (storage_slot: 5) (offset: 0) (type: string[]) (numberOfBytes: 32)
lib/forge-std/src/StdInvariant.sol:StdInvariant:_targetedArtifactSelectors (storage_slot: 6) (offset: 0) (type: struct StdInvariant.FuzzSelector[]) (numberOfBytes: 32)
lib/forge-std/src/StdInvariant.sol:StdInvariant:_targetedSelectors (storage_slot: 7) (offset: 0) (type: struct StdInvariant.FuzzSelector[]) (numberOfBytes: 32)
lib/forge-std/src/StdInvariant.sol:StdInvariant:_targetedInterfaces (storage_slot: 8) (offset: 0) (type: struct StdInvariant.FuzzInterface[]) (numberOfBytes: 32)
2 changes: 0 additions & 2 deletions logs/storage/test.sol:DSTest 2.log

This file was deleted.

19 changes: 19 additions & 0 deletions logs/storage/test.sol:Test.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
lib/forge-std/src/Test.sol:Test:stdstore (storage_slot: 0) (offset: 0) (type: struct StdStorage) (numberOfBytes: 224)
lib/forge-std/src/Test.sol:Test:IS_TEST (storage_slot: 7) (offset: 0) (type: bool) (numberOfBytes: 1)
lib/forge-std/src/Test.sol:Test:_failed (storage_slot: 7) (offset: 1) (type: bool) (numberOfBytes: 1)
lib/forge-std/src/Test.sol:Test:stdChainsInitialized (storage_slot: 7) (offset: 2) (type: bool) (numberOfBytes: 1)
lib/forge-std/src/Test.sol:Test:chains (storage_slot: 8) (offset: 0) (type: mapping(string => struct StdChains.Chain)) (numberOfBytes: 32)
lib/forge-std/src/Test.sol:Test:defaultRpcUrls (storage_slot: 9) (offset: 0) (type: mapping(string => string)) (numberOfBytes: 32)
lib/forge-std/src/Test.sol:Test:idToAlias (storage_slot: 10) (offset: 0) (type: mapping(uint256 => string)) (numberOfBytes: 32)
lib/forge-std/src/Test.sol:Test:fallbackToDefaultRpcUrls (storage_slot: 11) (offset: 0) (type: bool) (numberOfBytes: 1)
lib/forge-std/src/Test.sol:Test:gasMeteringOff (storage_slot: 11) (offset: 1) (type: bool) (numberOfBytes: 1)
lib/forge-std/src/Test.sol:Test:stdstore (storage_slot: 12) (offset: 0) (type: struct StdStorage) (numberOfBytes: 224)
lib/forge-std/src/Test.sol:Test:_excludedContracts (storage_slot: 19) (offset: 0) (type: address[]) (numberOfBytes: 32)
lib/forge-std/src/Test.sol:Test:_excludedSenders (storage_slot: 20) (offset: 0) (type: address[]) (numberOfBytes: 32)
lib/forge-std/src/Test.sol:Test:_targetedContracts (storage_slot: 21) (offset: 0) (type: address[]) (numberOfBytes: 32)
lib/forge-std/src/Test.sol:Test:_targetedSenders (storage_slot: 22) (offset: 0) (type: address[]) (numberOfBytes: 32)
lib/forge-std/src/Test.sol:Test:_excludedArtifacts (storage_slot: 23) (offset: 0) (type: string[]) (numberOfBytes: 32)
lib/forge-std/src/Test.sol:Test:_targetedArtifacts (storage_slot: 24) (offset: 0) (type: string[]) (numberOfBytes: 32)
lib/forge-std/src/Test.sol:Test:_targetedArtifactSelectors (storage_slot: 25) (offset: 0) (type: struct StdInvariant.FuzzSelector[]) (numberOfBytes: 32)
lib/forge-std/src/Test.sol:Test:_targetedSelectors (storage_slot: 26) (offset: 0) (type: struct StdInvariant.FuzzSelector[]) (numberOfBytes: 32)
lib/forge-std/src/Test.sol:Test:_targetedInterfaces (storage_slot: 27) (offset: 0) (type: struct StdInvariant.FuzzInterface[]) (numberOfBytes: 32)

0 comments on commit d7e9152

Please sign in to comment.