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: updated constants to actual address #18

Merged
merged 1 commit into from
Oct 24, 2022
Merged

Conversation

sendra
Copy link
Contributor

@sendra sendra commented Oct 24, 2022

No description provided.

@github-actions
Copy link
Contributor

Foundry report

forge 0.2.0 (9add73c 2022-10-24T00:09:32.379280878Z)
Build log
installing solc version "0.8.17"
Successfully installed solc 0.8.17
Compiling 3 files with 0.8.17
Solc 0.8.17 finished in 2.15s
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/ProxyHelpers.t.sol:ProxyHelpersTest
[PASS] testAdmin() (gas: 3210)
[PASS] testImplementation() (gas: 3222)
Test result: ok. 2 passed; 0 failed; finished in 192.15ms

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 632.93ms

@sendra sendra merged commit 6d13520 into master Oct 24, 2022
@eboadom eboadom deleted the fix/constant-variables branch December 22, 2022 09:32
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