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: better number formatting #25

Merged
merged 7 commits into from
Nov 2, 2023
Merged

fix: better number formatting #25

merged 7 commits into from
Nov 2, 2023

Conversation

sakulstra
Copy link
Contributor

@sakulstra sakulstra commented Nov 1, 2023

Copy link

github-actions bot commented Nov 1, 2023

Foundry report

forge 0.2.0 (09fe3e0 2023-11-02T00:21:11.736779974Z)
Build log
Compiling 111 files with 0.8.19
Solc 0.8.19 finished in 17.93s
Compiler run successful with warnings:
Warning (5667): Unused function parameter. Remove or comment out the variable name to silence this warning.
   --> lib/aave-helpers/src/GovV3Helpers.sol:734:5:
    |
734 |     address votingPortal
    |     ^^^^^^^^^^^^^^^^^^^^

| Contract                                     | Size (kB) | Margin (kB) |
|----------------------------------------------|-----------|-------------|
| AaveGovernanceV2                             | 0.086     | 24.49       |
| AaveV2Avalanche                              | 0.086     | 24.49       |
| AaveV2AvalancheAssets                        | 0.086     | 24.49       |
| AaveV2Ethereum                               | 0.086     | 24.49       |
| AaveV2EthereumAMM                            | 0.086     | 24.49       |
| AaveV2EthereumAMMAssets                      | 0.086     | 24.49       |
| AaveV2EthereumAssets                         | 0.086     | 24.49       |
| AaveV2Polygon                                | 0.086     | 24.49       |
| AaveV2PolygonAssets                          | 0.086     | 24.49       |
| AaveV3Arbitrum                               | 0.086     | 24.49       |
| AaveV3ArbitrumAssets                         | 0.086     | 24.49       |
| AaveV3ArbitrumEModes                         | 0.086     | 24.49       |
| AaveV3Avalanche                              | 0.086     | 24.49       |
| AaveV3AvalancheAssets                        | 0.086     | 24.49       |
| AaveV3AvalancheEModes                        | 0.086     | 24.49       |
| AaveV3Ethereum                               | 0.086     | 24.49       |
| AaveV3EthereumAssets                         | 0.086     | 24.49       |
| AaveV3EthereumEModes                         | 0.086     | 24.49       |
| AaveV3Ethereum_ACIPhaseII_20231029           | 0.682     | 23.894      |
| AaveV3Fantom                                 | 0.086     | 24.49       |
| AaveV3FantomAssets                           | 0.086     | 24.49       |
| AaveV3FantomEModes                           | 0.086     | 24.49       |
| AaveV3Gnosis                                 | 0.086     | 24.49       |
| AaveV3GnosisAssets                           | 0.086     | 24.49       |
| AaveV3GnosisEModes                           | 0.086     | 24.49       |
| AaveV3Gnosis_AaveV3GnosisActivation_20231026 | 8.802     | 15.774      |
| AaveV3Harmony                                | 0.086     | 24.49       |
| AaveV3HarmonyAssets                          | 0.086     | 24.49       |
| AaveV3HarmonyEModes                          | 0.086     | 24.49       |
| AaveV3Optimism                               | 0.086     | 24.49       |
| AaveV3OptimismAssets                         | 0.086     | 24.49       |
| AaveV3OptimismEModes                         | 0.086     | 24.49       |
| AaveV3Polygon                                | 0.086     | 24.49       |
| AaveV3PolygonAssets                          | 0.086     | 24.49       |
| AaveV3PolygonEModes                          | 0.086     | 24.49       |
| Address                                      | 0.086     | 24.49       |
| ChainHelpers                                 | 0.086     | 24.49       |
| ChainIds                                     | 0.086     | 24.49       |
| ConfiguratorInputTypes                       | 0.086     | 24.49       |
| Create2Utils                                 | 0.164     | 24.412      |
| DataTypes                                    | 0.086     | 24.49       |
| EngineFlags                                  | 0.086     | 24.49       |
| Errors                                       | 4.714     | 19.862      |
| GovHelpers                                   | 0.086     | 24.49       |
| GovV3Helpers                                 | 0.086     | 24.49       |
| GovV3StorageHelpers                          | 0.086     | 24.49       |
| GovernanceV3Arbitrum                         | 0.086     | 24.49       |
| GovernanceV3Avalanche                        | 0.086     | 24.49       |
| GovernanceV3BNB                              | 0.086     | 24.49       |
| GovernanceV3Base                             | 0.086     | 24.49       |
| GovernanceV3Ethereum                         | 0.086     | 24.49       |
| GovernanceV3Gnosis                           | 0.086     | 24.49       |
| GovernanceV3Metis                            | 0.086     | 24.49       |
| GovernanceV3Optimism                         | 0.086     | 24.49       |
| GovernanceV3Polygon                          | 0.086     | 24.49       |
| IpfsUtils                                    | 0.086     | 24.49       |
| MiscEthereum                                 | 0.086     | 24.49       |
| MockExecutor                                 | 0.437     | 24.139      |
| PayloadsControllerUtils                      | 0.086     | 24.49       |
| ProxyHelpers                                 | 0.086     | 24.49       |
| ReserveConfiguration                         | 0.171     | 24.405      |
| SafeERC20                                    | 0.086     | 24.49       |
| StdStyle                                     | 0.086     | 24.49       |
| StorageHelpers                               | 0.086     | 24.49       |
| WadRayMath                                   | 0.086     | 24.49       |
| 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       |
| stdStorageSafe                               | 0.086     | 24.49       |
Test success 🌈

@sakulstra sakulstra marked this pull request as ready for review November 1, 2023 19:55
sendra
sendra previously approved these changes Nov 2, 2023
@sakulstra sakulstra merged commit efdbcbf into main Nov 2, 2023
2 checks passed
@sakulstra sakulstra deleted the generator/refactor branch November 2, 2023 14:11
Rozengarden pushed a commit to Rozengarden/aave-proposals-v3 that referenced this pull request Nov 2, 2023
* fix: better number formatting

* fix: improve generator

* fix: uncomment test

* Update src/20231029_AaveV3Ethereum_ACIPhaseII/ACIPhaseII_20231029.s.sol

* fix: add advanced input

* fix: add correct error
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.

Properly format big numbers
3 participants