Closed naszam closed 2 years ago
@naszam new max mat
s need to be set in the tests for LRC-A
, BAT-A
and ZRX-A
MCD_JOIN_WBTC_B
correctly created from known FAB and with the correct parametersMCD_CLIP_WBTC_B
correctly created from known FAB and with the correct parametersMCD_CLIP_CALC_WBTC_B
correctly created from known FAB and with the correct parametersWBTC-B
onboarding risk params look goodWBTC-A
stability fee adjustment is okAAVE-A
offboarding is okCOMP-A
offboarding is okBAL-A
offboarding is okLRC-A
replacement of mat lerp is okBAT-A
replacement of mat lerp is okZRX-A
replacement of mat lerp is okUNIV2LINKETH-A
replacement of mat lerp is okSpell is ready to be deployed
0xfD88CeE74f7D78697775aBDAE53f9Da1559728E4 - v0.0.8
@naszam I don't think I'll get the tests passing locally before having to be off for a while. So if you get confirmation the tests are passing I give my approval to share the spell address.
Test PASS (with deployed spell address at block n. 13646843):
dapp-test: rpc block: latest
Running 22 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testBATIncreasedMatLerpOffboarding() (gas: 5324172)
[PASS] testFail_notScheduled() (gas: 12347)
[PASS] testLRCIncreasedMatLerpOffboarding() (gas: 5324238)
[PASS] test_auth_in_sources() (gas: 281473904573849)
[PASS] test_use_eta() (gas: 334015)
[PASS] testZRXIncreasedMatLerpOffboarding() (gas: 5324370)
[PASS] testOnTime() (gas: 5268536)
[PASS] test_nextCastTime() (gas: 402313)
[PASS] testFailTooEarly() (gas: 373791)
[PASS] testCOMPLerpOffboardings() (gas: 5317821)
[PASS] test_bytecode_matches() (gas: 2801218)
[PASS] testAAVELerpOffboardings() (gas: 5317909)
[PASS] test_auth() (gas: 281473909822607)
[PASS] testSpellIsCast_GENERAL() (gas: 16263988)
[PASS] testFailWrongDay() (gas: 373855)
[PASS] testCollateralIntegrations() (gas: 6179488)
[PASS] testCastCost() (gas: 5270452)
[PASS] testUNIV2LINKETHIncreasedMatLerpOffboarding() (gas: 5324854)
[PASS] testNewChainlogValues() (gas: 5279316)
[PASS] testNewIlkRegistryValues() (gas: 5289530)
[PASS] testBALLerpOffboardings() (gas: 5318217)
[PASS] testFailTooLate() (gas: 374140)
Tests passed locally:
Running 22 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testBATIncreasedMatLerpOffboarding() (gas: 5324172)
[PASS] testFail_notScheduled() (gas: 12347)
[PASS] testLRCIncreasedMatLerpOffboarding() (gas: 5324238)
[PASS] test_auth_in_sources() (gas: 281473904573849)
[PASS] test_use_eta() (gas: 334015)
[PASS] testZRXIncreasedMatLerpOffboarding() (gas: 5324370)
[PASS] testOnTime() (gas: 5268536)
[PASS] test_nextCastTime() (gas: 402313)
[PASS] testFailTooEarly() (gas: 373791)
[PASS] testCOMPLerpOffboardings() (gas: 5317821)
[PASS] test_bytecode_matches() (gas: 2801218)
[PASS] testAAVELerpOffboardings() (gas: 5317909)
[PASS] test_auth() (gas: 281473909822607)
[PASS] testSpellIsCast_GENERAL() (gas: 16263988)
[PASS] testFailWrongDay() (gas: 373855)
[PASS] testCollateralIntegrations() (gas: 6179488)
[PASS] testCastCost() (gas: 5270452)
[PASS] testUNIV2LINKETHIncreasedMatLerpOffboarding() (gas: 5324854)
[PASS] testNewChainlogValues() (gas: 5279316)
[PASS] testNewIlkRegistryValues() (gas: 5289530)
[PASS] testBALLerpOffboardings() (gas: 5318217)
[PASS] testFailTooLate() (gas: 374140)
Please archive and will give the approval. But so far the spell can be sent to GovAlpha.
Description
Contribution Checklist
(PE-<TICKET_NUMBER>)
Checklist
officeHours
modifier4 days
monthly and30 days
for the rest)ETH_GAS="XXX" ETH_GAS_PRICE="YYY" make deploy
mainnet
contract on etherscanmake date="YYYY-MM-DD" archive-spell
to make an archive directory and copyDssSpell.sol
,DssSpell.t.sol
, andDssSpell.t.base.sol
squash and merge
this PR