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

fix: downgrade scripts #38

Merged
merged 2 commits into from
Jan 30, 2023
Merged

fix: downgrade scripts #38

merged 2 commits into from
Jan 30, 2023

Conversation

sakulstra
Copy link
Collaborator

No description provided.

@github-actions
Copy link
Contributor

Foundry report

forge 0.2.0 (31f945c 2023-01-30T00:07:47.696738287Z)
Build log
installing solc version "0.8.17"
Successfully installed solc 0.8.17
Compiling 48 files with 0.8.17
Solc 0.8.17 finished in 9.18s
Compiler run successful (with warnings)
�[33mwarning[2018]: �[0m�[33mWarning: Function state mutability can be restricted to view
 --> src/ProxyHelpers.sol:7:3:
  |
7 |   function getInitializableAdminUpgradeabilityProxyAdmin(Vm vm, address proxy)
  |   ^ (Relevant source part starts here and spans across multiple lines).

�[0m

�[33mwarning[2018]: �[0m�[33mWarning: Function state mutability can be restricted to view
  --> src/ProxyHelpers.sol:19:3:
   |
19 |   function getInitializableAdminUpgradeabilityProxyImplementation(Vm vm, address proxy)
   |   ^ (Relevant source part starts here and spans across multiple lines).

�[0m

| Contract                 | Size (kB) | Margin (kB) |
|--------------------------|-----------|-------------|
| AaveGovernanceV2         | 0.272     | 24.304      |
| AaveV3Polygon            | 0.086     | 24.49       |
| AaveV3PolygonMockListing | 1.976     | 22.6        |
| Address                  | 0.086     | 24.49       |
| BridgeExecutorHelpers    | 0.086     | 24.49       |
| ConfiguratorInputTypes   | 0.086     | 24.49       |
| DataTypes                | 0.086     | 24.49       |
| GenericV3ListingEngine   | 10.088    | 14.488      |
| GovHelpers               | 0.236     | 24.34       |
| MockExecutor             | 0.437     | 24.139      |
| ProxyHelpers             | 0.086     | 24.49       |
| console                  | 0.086     | 24.49       |
| console2                 | 0.086     | 24.49       |
| stdError                 | 0.591     | 23.985      |
| stdJson                  | 0.086     | 24.49       |
| stdMath                  | 0.086     | 24.49       |
| stdStorage               | 0.086     | 24.49       |
| stdStorageSafe           | 0.086     | 24.49       |
Test success 🌈
No files changed, compilation skipped

Running 1 test for src/test/ProtocolV3TestBase.t.sol:ProtocolV3TestBaseTest
�[32m[PASS]�[0m testSnpashot() (gas: 2306040)
Test result: �[32mok�[0m. 1 passed; 0 failed; finished in 349.07ms

Running 1 test for src/test/GenericV3ListingEngineTest.t.sol:GenericV3ListingEngineTest
�[32m[PASS]�[0m testEngine() (gas: 7601530)
Test result: �[32mok�[0m. 1 passed; 0 failed; finished in 387.18ms

Running 2 tests for src/test/ProxyHelpersTest.t.sol:ProxyHelpersTest
�[32m[PASS]�[0m testAdmin() (gas: 3229)
�[32m[PASS]�[0m testImplementation() (gas: 3196)
Test result: �[32mok�[0m. 2 passed; 0 failed; finished in 157.60ms

@sakulstra sakulstra merged commit 8d5c922 into master Jan 30, 2023
@sakulstra sakulstra deleted the feat/downgrade-scripts branch January 30, 2023 16:58
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.

2 participants