makerdao / spells-mainnet

Staging repo for MakerDAO weekly executive spells
GNU Affero General Public License v3.0
108 stars 45 forks source link

PE-814: 2022-01-21 Executive #215

Closed godsflaw closed 2 years ago

godsflaw commented 2 years ago

Description

PE-814: 2022-01-21 Executive

Contribution Checklist

Checklist

talbaneth commented 2 years ago

Need to change the copyright to 2022 here as well :)

talbaneth commented 2 years ago

Made a small comment about the location of testAAVEDirectBarChange. Apart from that this is good to deploy.

Verified: -diffed the spell with goerli -diffed config.sol with goerli -diffed all files vs previous spell -AAVE D3M updates - checked values vs sheet and poll -reviewed tests -tests pass

iamchrissmith commented 2 years ago

we should update this to include 2022: https://github.com/makerdao/spells-mainnet/pull/215/files#diff-c9c3998420c475f01de841ca5283ea49ce6c99080a8c6a3fdae77b097bef6778L3

brianmcmichael commented 2 years ago

Copyright dates updated at e11b20093106e61aeab3f881b632a41eb4e9ca77

iamchrissmith commented 2 years ago

confirmed changes against goerli and Aave D3M against executive spreadsheet. I have a question about the verification code, but other than that looking good.

test are running (and have been for about an hour...)

talbaneth commented 2 years ago

Hash confirmed. Tests passing:

dapp-test: rpc block: latest Running 13 tests for src/DssSpell.t.sol:DssSpellTest [PASS] testFail_notScheduled() (gas: 7236) [PASS] test_auth_in_sources() (gas: 281473904825281) [PASS] test_use_eta() (gas: 326431) [PASS] testOnTime() (gas: 670795) [PASS] test_nextCastTime() (gas: 327273) [PASS] testFailTooEarly() (gas: 3457) [PASS] test_bytecode_matches() (gas: 1190042) [PASS] testAAVEDirectBarChange() (gas: 674578) [PASS] test_auth() (gas: 281473912910764) [PASS] testSpellIsCast_GENERAL() (gas: 7784572) [PASS] testFailWrongDay() (gas: 3699) [PASS] testCastCost() (gas: 672681) [PASS] testFailTooLate() (gas: 3853)

talbaneth commented 2 years ago

dapp-test: rpc block: latest Running 13 tests for src/DssSpell.t.sol:DssSpellTest [PASS] testFail_notScheduled() (gas: 12236) [PASS] test_auth_in_sources() (gas: 281473904825312) [PASS] test_use_eta() (gas: 333431) [PASS] testOnTime() (gas: 680295) [PASS] test_nextCastTime() (gas: 334273) [PASS] testFailTooEarly() (gas: 8457) [PASS] test_bytecode_matches() (gas: 1199542) [PASS] testAAVEDirectBarChange() (gas: 684078) [PASS] test_auth() (gas: 281473912910796) [PASS] testSpellIsCast_GENERAL() (gas: 8981391) [PASS] testFailWrongDay() (gas: 8699) [PASS] testCastCost() (gas: 682181) [PASS] testFailTooLate() (gas: 8853)

brianmcmichael commented 2 years ago

With deployed address:

dapp-test: rpc block: latest
Running 13 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testFail_notScheduled() (gas: 12236)
[PASS] test_auth_in_sources() (gas: 281473904825312)
[PASS] test_use_eta() (gas: 333431)
[PASS] testOnTime() (gas: 680055)
[PASS] test_nextCastTime() (gas: 334273)
[PASS] testFailTooEarly() (gas: 8457)
[PASS] test_bytecode_matches() (gas: 1199542)
[PASS] testAAVEDirectBarChange() (gas: 683838)
[PASS] test_auth() (gas: 281473912910796)
[PASS] testSpellIsCast_GENERAL() (gas: 8981151)
[PASS] testFailWrongDay() (gas: 8699)
[PASS] testCastCost() (gas: 681941)
[PASS] testFailTooLate() (gas: 8853)
iamchrissmith commented 2 years ago

tests with address pass at block number 14050237

Running 13 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testFail_notScheduled() (gas: 12236)
[PASS] test_auth_in_sources() (gas: 281473904825312)
[PASS] test_use_eta() (gas: 333431)
[PASS] testOnTime() (gas: 680515)
[PASS] test_nextCastTime() (gas: 334273)
[PASS] testFailTooEarly() (gas: 8457)
[PASS] test_bytecode_matches() (gas: 1199542)
[PASS] testAAVEDirectBarChange() (gas: 684298)
[PASS] test_auth() (gas: 281473912910796)
[PASS] testSpellIsCast_GENERAL() (gas: 8981611)
[PASS] testFailWrongDay() (gas: 8699)
[PASS] testCastCost() (gas: 682401)
[PASS] testFailTooLate() (gas: 8853)