-
Notifications
You must be signed in to change notification settings - Fork 29
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: no duplication #16
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Foundry report forge 0.2.0 (9add73c 2022-10-24T00:09:32.379280878Z) Build loginstalling solc version "0.8.17"
Successfully installed solc 0.8.17
Compiling 14 files with 0.8.17
Solc 0.8.17 finished in 4.18s
Compiler run successful
╭────────────────────────┬───────────┬─────────────╮
│ Contract ┆ Size (kB) ┆ Margin (kB) │
╞════════════════════════╪═══════════╪═════════════╡
│ AaveGovernanceV2 ┆ 0.236 ┆ 24.34 │
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ AaveV3Polygon ┆ 0.086 ┆ 24.49 │
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ BridgeExecutorHelpers ┆ 0.086 ┆ 24.49 │
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ ConfiguratorInputTypes ┆ 0.086 ┆ 24.49 │
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ DataTypes ┆ 0.086 ┆ 24.49 │
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ GovHelpers ┆ 0.236 ┆ 24.34 │
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ ProxyHelpers ┆ 0.086 ┆ 24.49 │
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ console ┆ 0.086 ┆ 24.49 │
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ console2 ┆ 0.086 ┆ 24.49 │
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ stdError ┆ 0.624 ┆ 23.952 │
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ stdJson ┆ 0.086 ┆ 24.49 │
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ stdMath ┆ 0.086 ┆ 24.49 │
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ stdStorage ┆ 0.59 ┆ 23.986 │
╰────────────────────────┴───────────┴─────────────╯ Test success 🌈No files changed, compilation skipped
Running 2 tests for src/test/ProtocolV3Helper.t.sol:ProxyHelpersTest
[PASS] testE2E() (gas: 19616847)
Logs:
SUPPLY: DAI, Amount: 100000000000000000000
WITHDRAW: DAI, Amount: 100000000000000000000
SUPPLY: DAI, Amount: 100000000000000000000
WITHDRAW: DAI, Amount: 100000644606540349478
SUPPLY: LINK, Amount: 100000000000000000000
WITHDRAW: LINK, Amount: 100000000000000000000
SUPPLY: LINK, Amount: 100000000000000000000
WITHDRAW: LINK, Amount: 100000313696223258656
SUPPLY: USDC, Amount: 100000000
WITHDRAW: USDC, Amount: 100000000
SUPPLY: USDC, Amount: 100000000
WITHDRAW: USDC, Amount: 100000425
SUPPLY: WBTC, Amount: 10000000000
WITHDRAW: WBTC, Amount: 10000000000
SUPPLY: WBTC, Amount: 10000000000
WITHDRAW: WBTC, Amount: 10000009503
SUPPLY: WETH, Amount: 100000000000000000000
WITHDRAW: WETH, Amount: 100000000000000000000
SUPPLY: WETH, Amount: 100000000000000000000
WITHDRAW: WETH, Amount: 100000278895466965697
SUPPLY: USDT, Amount: 100000000
WITHDRAW: USDT, Amount: 100000000
SUPPLY: USDT, Amount: 100000000
WITHDRAW: USDT, Amount: 100001820
SUPPLY: AAVE, Amount: 100000000000000000000
WITHDRAW: AAVE, Amount: 100000000000000000000
SUPPLY: AAVE, Amount: 100000000000000000000
WITHDRAW: AAVE, Amount: 100000000000000000000
SUPPLY: WMATIC, Amount: 100000000000000000000
WITHDRAW: WMATIC, Amount: 100000000000000000000
SUPPLY: WMATIC, Amount: 100000000000000000000
WITHDRAW: WMATIC, Amount: 100001818890047738818
SUPPLY: CRV, Amount: 100000000000000000000
WITHDRAW: CRV, Amount: 100000000000000000000
SUPPLY: CRV, Amount: 100000000000000000000
WITHDRAW: CRV, Amount: 100002147184144955026
SUPPLY: SUSHI, Amount: 100000000000000000000
WITHDRAW: SUSHI, Amount: 100000000000000000000
SUPPLY: SUSHI, Amount: 100000000000000000000
WITHDRAW: SUSHI, Amount: 100001825047719588993
SUPPLY: GHST, Amount: 100000000000000000000
WITHDRAW: GHST, Amount: 100000000000000000000
SUPPLY: GHST, Amount: 100000000000000000000
WITHDRAW: GHST, Amount: 100000219048996762814
SUPPLY: BAL, Amount: 100000000000000000000
WITHDRAW: BAL, Amount: 100000000000000000000
SUPPLY: BAL, Amount: 100000000000000000000
WITHDRAW: BAL, Amount: 100015808509976671413
SUPPLY: DPI, Amount: 100000000000000000000
WITHDRAW: DPI, Amount: 100000000000000000000
SUPPLY: DPI, Amount: 100000000000000000000
WITHDRAW: DPI, Amount: 100000739050088788566
SUPPLY: EURS, Amount: 10000
WITHDRAW: EURS, Amount: 10000
SUPPLY: EURS, Amount: 10000
WITHDRAW: EURS, Amount: 10000
SUPPLY: jEUR, Amount: 100000000000000000000
WITHDRAW: jEUR, Amount: 100000000000000000000
SUPPLY: jEUR, Amount: 100000000000000000000
WITHDRAW: jEUR, Amount: 100000310640477684351
SUPPLY: agEUR, Amount: 100000000000000000000
WITHDRAW: agEUR, Amount: 100000000000000000000
SUPPLY: agEUR, Amount: 100000000000000000000
WITHDRAW: agEUR, Amount: 100000397213451472133
SUPPLY: miMATIC, Amount: 100000000000000000000
WITHDRAW: miMATIC, Amount: 100000000000000000000
SUPPLY: miMATIC, Amount: 100000000000000000000
WITHDRAW: miMATIC, Amount: 100000626560343711279
SUPPLY: LINK, Amount: 1000000000000000000000000
SUPPLY: DAI, Amount: 2000000000000000000
BORROW: DAI, Amount 1000000000000000000, Stable: false
SUPPLY: LINK, Amount: 2000000000000000000
BORROW: LINK, Amount 1000000000000000000, Stable: false
SUPPLY: USDC, Amount: 2000000
BORROW: USDC, Amount 1000000, Stable: false
SUPPLY: WBTC, Amount: 200000000
BORROW: WBTC, Amount 100000000, Stable: false
SUPPLY: WETH, Amount: 2000000000000000000
BORROW: WETH, Amount 1000000000000000000, Stable: false
SUPPLY: USDT, Amount: 2000000
BORROW: USDT, Amount 1000000, Stable: false
SKIP: BORROWING_DISABLED AAVE
SUPPLY: WMATIC, Amount: 2000000000000000000
BORROW: WMATIC, Amount 1000000000000000000, Stable: false
SUPPLY: CRV, Amount: 2000000000000000000
BORROW: CRV, Amount 1000000000000000000, Stable: false
SUPPLY: SUSHI, Amount: 2000000000000000000
BORROW: SUSHI, Amount 1000000000000000000, Stable: false
SUPPLY: GHST, Amount: 2000000000000000000
BORROW: GHST, Amount 1000000000000000000, Stable: false
SUPPLY: BAL, Amount: 2000000000000000000
BORROW: BAL, Amount 1000000000000000000, Stable: false
SUPPLY: DPI, Amount: 2000000000000000000
BORROW: DPI, Amount 1000000000000000000, Stable: false
SUPPLY: EURS, Amount: 200
BORROW: EURS, Amount 100, Stable: false
SUPPLY: jEUR, Amount: 2000000000000000000
BORROW: jEUR, Amount 1000000000000000000, Stable: false
SUPPLY: agEUR, Amount: 2000000000000000000
BORROW: agEUR, Amount 1000000000000000000, Stable: false
SUPPLY: miMATIC, Amount: 2000000000000000000
BORROW: miMATIC, Amount 1000000000000000000, Stable: false
SUPPLY: LINK, Amount: 1000000000000000000000000
SUPPLY: DAI, Amount: 2000000000000000000
BORROW: DAI, Amount 1000000000000000000, Stable: true
SKIP: STABLE_BORROWING_DISABLED LINK
SUPPLY: USDC, Amount: 2000000
BORROW: USDC, Amount 1000000, Stable: true
SKIP: STABLE_BORROWING_DISABLED WBTC
SKIP: STABLE_BORROWING_DISABLED WETH
SUPPLY: USDT, Amount: 2000000
BORROW: USDT, Amount 1000000, Stable: true
SKIP: STABLE_BORROWING_DISABLED AAVE
SKIP: STABLE_BORROWING_DISABLED WMATIC
SKIP: STABLE_BORROWING_DISABLED CRV
SKIP: STABLE_BORROWING_DISABLED SUSHI
SKIP: STABLE_BORROWING_DISABLED GHST
SKIP: STABLE_BORROWING_DISABLED BAL
SKIP: STABLE_BORROWING_DISABLED DPI
SUPPLY: EURS, Amount: 200
BORROW: EURS, Amount 100, Stable: true
SKIP: STABLE_BORROWING_DISABLED jEUR
SKIP: STABLE_BORROWING_DISABLED agEUR
SKIP: STABLE_BORROWING_DISABLED miMATIC
[PASS] testSnpashot() (gas: 1972642)
Test result: ok. 2 passed; 0 failed; finished in 704.00ms
Running 2 tests for src/test/ProxyHelpers.t.sol:ProxyHelpersTest
[PASS] testAdmin() (gas: 3210)
[PASS] testImplementation() (gas: 3222)
Test result: ok. 2 passed; 0 failed; finished in 808.85ms |
eboadom
approved these changes
Oct 24, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.