makerdao / spells-mainnet

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

PE-1149 #301

Closed iamchrissmith closed 1 year ago

iamchrissmith commented 1 year ago

Description

Contribution Checklist

Checklist

The-Arbiter commented 1 year ago

Tests OK

Running 1 test for src/test/starknet.t.sol:StarknetTests
[PASS] testStarknet() (gas: 1755479)
Test result: ok. 1 passed; 0 failed; finished in 50.11s

Running 20 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testAuth() (gas: 9223371487101560772)
[PASS] testAuthInSources() (gas: 9223371487098802424)
[PASS] testBytecodeMatches() (gas: 2732155)
[PASS] testCastCost() (gas: 1555408)
[PASS] testChainlogValues() (gas: 9705183)
[PASS] testChainlogVersionBump() (gas: 4823679)
[PASS] testContractSize() (gas: 9028)
[PASS] testDeployCost() (gas: 2716801)
[PASS] testFailNotScheduled() (gas: 14353)
[PASS] testFailTooEarly() (gas: 13569)
[PASS] testFailTooLate() (gas: 13634)
[PASS] testFailWrongDay() (gas: 13657)
[PASS] testGeneral() (gas: 36471134)
[PASS] testMKRPayments() (gas: 1581612)
[PASS] testNextCastTime() (gas: 353165)
[PASS] testOnTime() (gas: 1552017)
[PASS] testPayments() (gas: 1718815)
[PASS] testUseEta() (gas: 351894)
[PASS] testVestDAI() (gas: 1772486)
[PASS] testVestMKR() (gas: 1654296)
Test result: ok. 20 passed; 0 failed; finished in 1471.17s
iamchrissmith commented 1 year ago

spell deploy https://etherscan.io/address/0xb02fd2a51517c035d05b11272f769097dc2ead87

and tests passing locally:

Running 1 test for src/test/starknet.t.sol:StarknetTests
[PASS] testStarknet() (gas: 1755479)
Test result: ok. 1 passed; 0 failed; finished in 14.05s

Running 20 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testAuth() (gas: 9223371487101560772)
[PASS] testAuthInSources() (gas: 9223371487098802424)
[PASS] testBytecodeMatches() (gas: 2745436)
[PASS] testCastCost() (gas: 1555408)
[PASS] testChainlogValues() (gas: 9705183)
[PASS] testChainlogVersionBump() (gas: 4823679)
[PASS] testContractSize() (gas: 9028)
[PASS] testDeployCost() (gas: 2730046)
[PASS] testFailNotScheduled() (gas: 14353)
[PASS] testFailTooEarly() (gas: 13569)
[PASS] testFailTooLate() (gas: 13634)
[PASS] testFailWrongDay() (gas: 13657)
[PASS] testGeneral() (gas: 36488334)
[PASS] testMKRPayments() (gas: 1581612)
[PASS] testNextCastTime() (gas: 353165)
[PASS] testOnTime() (gas: 1552017)
[PASS] testPayments() (gas: 1718447)
[PASS] testUseEta() (gas: 351894)
[PASS] testVestDAI() (gas: 1772486)
[PASS] testVestMKR() (gas: 1654296)
Test result: ok. 20 passed; 0 failed; finished in 630.24s