makerdao / spells-mainnet

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

Make tests homogeneous with `spells-goerli` #189

Closed julienmartinlevrai closed 2 years ago

julienmartinlevrai commented 2 years ago

tests pass with empty spell address:

dapp-test: rpc block: latest
Running 16 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testFail_notScheduled() (gas: 7347)
[PASS] test_auth_in_sources() (gas: 281473904272962)
[PASS] test_use_eta() (gas: 326993)
[PASS] testOnTime() (gas: 2769630)
[PASS] test_nextCastTime() (gas: 395621)
[PASS] testFailTooEarly() (gas: 366703)
[PASS] test_bytecode_matches() (gas: 1487265)
[PASS] test_auth() (gas: 281473907933911)
[PASS] testSpellIsCast_GENERAL() (gas: 9343377)
[PASS] testKNCOffboarding() (gas: 2817885)
[PASS] testFailWrongDay() (gas: 366751)
[PASS] testCollateralIntegrations() (gas: 3672649)
[PASS] testCastCost() (gas: 2771502)
[PASS] testNewChainlogValues() (gas: 2782408)
[PASS] testNewIlkRegistryValues() (gas: 2790312)
[PASS] testFailTooLate() (gas: 367085)