- Preparation
- Exec Sheet for the specified date is found in the "Executive Vote Implementation Process" google sheet Insert URL to the specific sheet here
- Exec Doc for the specified date is found in the
makerdao/community
GitHub repo - Exec Doc file name follows the format
Executive vote - Month DD, YYYY.md
- Extract permanent URL to the raw markdown file and paste it below Insert your Raw Exec Doc URL here
- Using Exec Doc URL from the above and the
TARGET_DATE
, generate Exec Doc Hash viamake exec-hash date=$TARGET_DATE $URL
Insert your Exec Doc Hash here - Using Exec Doc URL from the above, generate Exec Doc Hash via
cast keccak -- "$(curl '$URL' -o - 2>/dev/null)"
Insert your Exec Doc Hash here - Using Exec Doc URL from the above, read spell instructions from the Exec Doc and list them below List all instructions announced in the Exec Doc
- Ensure that instructions announced in the Exec Doc match instructions in the Exec Sheet
- Base checks
- Current solc version
0.8.16
- Office hours is
true
IF spell introduces a major change that can affect external parties (e.g.: keepers are affected in case of collateral offboarding) OTHERWISE explicitly set tofalse
- Office hours value matches the Exec Sheet
- Office hours value matches the Exec Doc
- 30 days spell expiry set in the constructor (
block.timestamp + 30 days
)
- Current solc version
- Spell description
- Description follows the format
TARGET_DATE MakerDAO Executive Spell | Hash: EXEC_DOC_HASH
-
TARGET_DATE
in the description matches the Exec Doc target date - Accompanying comment above spell description follows the format
// Hash: cast keccak -- "$(wget 'EXEC_DOC_URL' -q -O - 2>/dev/null)"
- Exec Doc URL in comment matches your Raw Exec Doc URL above
- Exec Doc URL in comment refers to the https://github.com/makerdao/community repo
- Description follows the format
- Comments inside the spell
- Every Section text from the Exec Sheet is copied to the spell code as a comment surrounded by the set of dashes (E.g.
// ----- Section text -----
) - Every Instruction text from the Exec Sheet is copied to the spell code as
// Instruction text
- Every Instruction text have newline above it
- IF an instruction can not be taken, it should have explanation under the instruction prefixed with
// Note:
(e.g.:// Note: Payments are skipped on goerli
) - IF action in the spell doesn't have relevant instruction (e.g.:
chainlog
version bump), the necessity of it is explained in the comment above prefixed with// Note:
- Every proof url from the Exec Sheet, such as
Reasoning URL
andAuthority URL
is present in the spell code under relevant section or instruction (depending on which row the url is present) - Every proof url from the Exec Sheet, such as
Reasoning URL
andAuthority URL
have prefix derived from the url itself// Executive Vote:
if URL starts withhttps://vote.makerdao.com/executive/
// Poll:
if URL starts withhttps://vote.makerdao.com/polling/
// Forum:
if URL starts withhttps://forum.makerdao.com/t/
// MIP:
if URL starts withhttps://mips.makerdao.com/mips/details/
- Every Section text from the Exec Sheet is copied to the spell code as a comment surrounded by the set of dashes (E.g.
- Dependency checks
- Update Foundry by running
foundryup
- Reinstall libraries by running
rm -rf ./lib && git submodule update --init --recursive
Insert checked out submodule paths here
- IF submodule upgrades are present, make sure
dss-exec-lib
is synced as well - git submodule hash of
dss-exec-lib
(rungit submodule status
) matches the latest release version or newer -
dss-interfaces
library used insidelib/dss-exec-lib
matches submodule used insidelib/dss-test
- Update Foundry by running
- IF interfaces are present in the spell
- Interfaces imported from
dss-interfaces
- No unused
dss-interfaces
- Only single import layout is used (e.g.
import "dss-interfaces/dss/VatAbstract.sol";
)
- No unused
- Static Interfaces
- No unused static interfaces
- Declared static interface not present in the
dss-interfaces
, OTHERWISE should be imported from there - Interface matches deployed contract using
cast interface <contract_address>
command - Interface naming style should match with
Like
suffix (e.g.VatLike
)- EXCEPTION: known interface naming exceptions
- Each static interface declare only functions actually used in the spell code
- Interfaces imported from
- IF variable declarations are present in the spell
- IF precision units are present
- Precision units used in the spell match their defined values:
WAD = 10 ** 18
RAY = 10 ** 27
RAD = 10 ** 45
- Precision units match with Numerical Ranges
- Each variable visibility is declared as
internal
- Each variable state mutability is declared as
constant
- Precision units used in the spell match their defined values:
- IF math units are present
- Match their defined values:
HUNDRED = 10 ** 2
THOUSAND = 10 ** 3
MILLION = 10 ** 6
BILLION = 10 ** 9
- Match with config
- Each variable visibility is declared as
internal
- Each variable state mutability is declared as
constant
- Match their defined values:
- IF rates are present
- Rates match generated locally via
make rates pct=<pct>
(e.g. pct=0.75, for 0.75%) - Rates match IPFS document
- Rate variable name conforms to
X_PT_Y_Z_PCT_RATE
(e.g.ZERO_PT_SEVEN_FIVE_PCT_RATE
for 0.75%) - Rate variable visibility declared as
internal
- Rate variable state mutability declared as
constant
- Rates match generated locally via
- IF timestamps are present
- Comment above timestamp states full date including
UTC
timezone - Timestamp converts back to the correct date
- Timestamp converts back to the
UTC
timezone - Variable naming matches
MMM_DD_YYYY
(e.g.JAN_01_2023
for 2023-01-01) - Time of day makes logical sense in the context of timestamp usage (i.e.
23:59:59 UTC
for the final day of something,00:00:00 UTC
for the first day of something) - Each variable visibility is declared as
internal
- Each variable state mutability is declared as
constant
- Comment above timestamp states full date including
- IF precision units are present
- IF new contract is present in the spell (not yet on chainlog or new to chainlog)
- Source code is verified on etherscan
- Compilation optimizations match deployment settings defined in the source code repo
-
GNU AGPLv3
license - Every maker-related constructor argument matches chainlog (e.g.
vat
,dai
,dog
, ...) - IF new contract have concept of
wards
or access control- Ensure
PAUSE_PROXY
address wasrelied
(wards(PAUSE_PROXY)
is1
) - Ensure that contract deployer address was
denied
(wards(deployer)
is0
) - Ensure
MCD_ESM
address is already relied OR beingrelied
(wards(MCD_ESM)
is1
) in this spell (as approved by Governance Facilitators, in order to allow de-authing the pause proxy during Emergency Shutdown, viadenyProxy
) - Ensure that there are no other
Rely
events except forPAUSE_PROXY
andMCD_ESM
(using a block explorer like etherscan)
- Ensure
- Source code matches corresponding github source code (e.g. diffcheck via vscode
code --diff etherscan.sol github.sol
) - Deployer address is included into
addresses_deployers.sol
- IF core system parameter changes are present in the instructions
- IF stability fee (
jug.ilk.duty
) is updated- (
DssExecLib.setIlkStabilityFee(ilk, rate, doDrip)
) is used - Comment matches pattern
// Increase ILK-A Stability Fee by X.XX% from X.XX% to X.XX%
- (
- IF Dai Savings Rate (
pot.dsr
) is updated- (
DssExecLib.setDSR(rate, doDrip)
) is used - Comment matches pattern
// Increase DSR by X.XX% from X.XX% to X.XX%
- Double check that rate match
make rates pct=<pct>
(e.g. pct=0.75, for 0.75%) - Double check that rate match IPFS document
- (
- IF
spotter.ilk.mat
is updated, (DssExecLib.setIlkLiquidationRatio(ilk, pct_bps)
) is used - IF
dog.ilk.hole
is updated, (DssExecLib.setIlkMaxLiquidationAmount(ilk, amount)
) is used - IF
vat.ilk.dust
is updated, (DssExecLib.setIlkMinVaultAmount(ilk, amount)
) is used - IF
dog.ilk.chop
is updated, (DssExecLib.setIlkLiquidationPenalty(ilk, pct_bps)
) is used - IF
clip.buf
is updated, (DssExecLib.setStartingPriceMultiplicativeFactor(ilk, pct_bps)
) is used - IF
clipperMom.clip.tolerance
is updated, (DssExecLib.setLiquidationBreakerPriceTolerance(clip, pct_bps)
) is used - IF
clip.tail
is updated, (DssExecLib.setAuctionTimeBeforeReset(ilk, duration)
) is used - IF
clip.cusp
is updated, (DssExecLib.setAuctionPermittedDrop(ilk, pct_bps)
) is used - IF
clip.chip
is updated, (DssExecLib.setKeeperIncentivePercent(ilk, pct_bps)
) is used - IF
clip.tip
is updated, (DssExecLib.setKeeperIncentiveFlatRate(ilk, amount)
) is used - IF
calc.tau
is updated, (DssExecLib.setLinearDecrease(calc, duration)
) is used - IF
calc.cut
orcalc.step
are updated,DssExecLib.setStairstepExponentialDecrease(calc, duration, pct_bps)
is used
- IF stability fee (
- IF debt ceiling changes are present in the instructions
- IF adjusted collateral type (
ilk
) have AutoLine enabled (MCD_IAM_AUTO_LINE
)- IF collateral debt ceiling requested to be
0
- Collateral is removed from AutoLine (
MCD_IAM_AUTO_LINE
) viaDssExecLib.removeIlkFromAutoLine(ilk)
- The instruction to remove from AutoLine (
MCD_IAM_AUTO_LINE
) is present in the Exec Sheet - Collateral debt ceiling is set to
0
viaDssExecLib.setIlkDebtCeiling(ilk, amount)
- Global debt ceiling (
vat.Line
) is updated accordingly, UNLESS specifically instructed not to
- Collateral is removed from AutoLine (
- IF
AutoLine
parameters are updated- EITHER is used, depending on the instruction:
- IF collateral debt ceiling requested to be
- IF collateral debt ceiling (
vat.ilk.line
) is updated- Collateral type (
ilk
) haveAutoLine
disabled previously or in the spell - EITHER is used, depending on the instruction:
- Global debt ceiling (
vat.Line
) is updated accordingly, UNLESS specifically instructed not to, via EITHER:global
set totrue
inincreaseIlkDebtCeiling
/decreaseIlkDebtCeiling
DssExecLib.setGlobalDebtCeiling(amount)
DssExecLib.increaseGlobalDebtCeiling(amount)
DssExecLib.decreaseGlobalDebtCeiling(amount)
- Collateral type (
- IF adjusted collateral type (
- IF onboarding is present
- Insert and follow the relevant checklists below:
- IF collateral offboarding is present in the spell
- 1st stage collateral offboarding
- Collateral type (
ilk
) is removed from AutoLine (MCD_IAM_AUTO_LINE
) IF currently enabled - Collateral debt ceiling (
vat.ilk.line
) is set to0
- Global debt ceiling (
vat.Line
) decreased by the total amount of offboarded ilks
- Collateral type (
- 2nd stage collateral offboarding
- All actions from the 1st stage offboarding are previously taken (EITHER in the current or past spells – check the archive)
- Collateral liquidation penalty (
chop
) is set to0
IF requested by governance - Flat keeper incentive (
tip
) is set to0
IF requested by governance - Relative keeper incentive (
chip
) is set to0
IF requested by governance - Max liquidation amount (
hole
) is adjusted viaDssExecLib.setIlkMaxLiquidationAmount(ilk, amount)
IF requested by governance - Relevant clipper contract (
MCD_CLIP_
) is active (i.e.stopped
is0
) - Liquidations are triggered via (depending on governance instruction):
- EITHER liquidation ratio (
spotter.ilk.mat
) being set very high in the spell (usingDssExecLib.setValue(DssExecLib.spotter(), ilk, "mat", ratio)
) - OR via enabling linear interpolation (
DssExecLib.linearInterpolation(name, target, ilk, what, startTime, start, end, duration)
)- Ensure
name
format matches "XXX-X Offboarding" - Ensure
target
matchesDssExecLib.spotter()
address - Ensure
ilk
format matches collateral type (ilk
) name ("XXX-X"
) - Ensure
what
matches string"mat"
- Ensure
startTime
matchesblock.timestamp
- Ensure
start
uses variableCURRENT_XXX_A_MAT
- Ensure
start
matches currentspotter.ilk.mat
value - Ensure
end
uses variableTARGET_XXX_A_MAT
- Ensure
end
value matches the instruction - Ensure
end
allows liquidation of all remaining vaults (end
is bigger thancollateral_type_collateralization_ratio * risk_multiplier_factor
) - Ensure
duration
matches the instruction
- Ensure
- EITHER liquidation ratio (
- Spotter price is updated via
DssExecLib.updateCollateralPrice(ilk)
IF collateral have no running oracle (i.e. relevantPIP_
contract have outdatedzzz
value) - Spotter price is updated after all other actions
- Offboarding is tested at least via
_checkIlkClipper
helper
- 1st stage collateral offboarding
- IF RWA updates are present
- IF
doc
is updated-
_updateDoc
helper is copied one-to-one from the archive and defined aboveactions
-
_updateDoc(ilk, doc)
is called in the spell
-
- IF debt ceiling is updated
- IF AutoLine update is requested by the Exec Doc
- Parameters are set via
DssExecLib.setIlkAutoLineParameters(ilk, amount, gap, ttl)
orDssExecLib.setIlkAutoLineDebtCeiling(ilk, amount)
- Parameters are set via
- IF regular debt ceiling (
vat.ilk.line
) update is requested by the Exec Doc- Collateral type (
ilk
) haveAutoLine
disabled previously or in the spell - Debt ceiling (
vat.ilk.line
) is updated, via EITHER: - Global debt ceiling (
vat.Line
) is updated accordingly, UNLESS specifically instructed not to, via EITHER:global
set totrue
inincreaseIlkDebtCeiling
/decreaseIlkDebtCeiling
DssExecLib.setGlobalDebtCeiling(amount)
DssExecLib.increaseGlobalDebtCeiling(amount)
DssExecLib.decreaseGlobalDebtCeiling(amount)
- Collateral type (
- Liquidation oracle price is bumped via
RwaLiquidationOracleLike(MIP21_LIQUIDATION_ORACLE).bump(ilk, val)
pattern- Comment above
bump
explainsval
computation via// Note: the formula is: "debt_ceiling * [ (1 + rwa_stability_fee ) ^ (minimum_deal_duration_in_years) ] * liquidation_ratio"
- Comment above
bump
provides locally executable formula (e.g.// bc -l <<< 'scale=18; 50000000 * e(l(1.07) * (3342/365)) * 1.00' | cast --to-wei
)- The formula matches the example provided above
-
debt_ceiling
in the executable formula matches new debt ceiling set in the spell or the maximum possible debt ceiling in case of the enabled AutoLine -
rwa_stability_fee
in the executable formula matches stability fee of the specified RWA found on chain -
minimum_deal_duration_in_years
in the executable formula matches number found in the Exec Doc of the spell containing relevant RWA onboarding -
liquidation_ratio
in the executable formula matches liquidation ratio of the specified RWA found on chain - Executing formula locally provides integer number that matches the
val
in the spell
-
val
makes sense in context of the rate mechanism
- Comment above
- IF multiple RWA ilks are being combined into one,
val
calculation is done once per ilk and added to make the total, with separate executable formulas provided in comments. The existingval
value can be retrieved by callingread()
onPIP_RWAXX
and converting the result into decimal - Oracle price is updated via
DssExecLib.updateCollateralPrice(ilk)
- IF soft liquidation explicitly requested to be triggered (via
.tell(ilk)
) AND debt ceiling is0
(OR is being set to0
in the current spell)-
RwaLiquidationOracle.tell(ilk)
call is present - IF
RWAXX_A_INPUT_CONDUIT
is an instance ofTinlakeMgr
(it is a Centrifuge integration), additionalTinlakeMgr.tell()
call is present (in order to prevent furtherTIN
redemptions in the Centrifuge pool)
-
- IF AutoLine update is requested by the Exec Doc
- IF
- IF payments are present in the spell
- IF
MKR
transfers are present- Recipient address in the instruction is in the checksummed format
- Recipient address matches Exec Doc
- Recipient address variable name matches one found in
addresses_wallets.sol
- Transfer amount matches Exec Doc
- Transfer amount is specified with (at least) 2 decimals using
ether
keyword - IF
ether
keyword is used, comment is present on the same line// Note: ether is a keyword helper, only MKR is transferred here
- The transfers are tested via
testMKRPayments
test - Sum of all MKR transfers tested in
testMKRPayments
matches number in the Exec Doc
- IF
DAI
surplus buffer transfers are present- Recipient address in the instruction is in the checksummed format
- Recipient address matches Exec Doc
- Recipient address variable name matches one found in
addresses_wallets.sol
- Transfer amount matches Exec Doc
- The transfers are tested via
testDAIPayments
test - Sum of all DAI transfers tested in
testDAIPayments
matches number in the Exec Doc
- IF
MKR
orDAI
streams (DssVest
) are created-
VestAbstract
interface is imported fromdss-interfaces/dss/VestAbstract.sol
-
restrict
is used for each stream, UNLESS otherwise explicitly stated in the Exec Doc -
usr
(Vest recipient address) matches Exec Doc -
usr
address in the instruction is in the checksummed format -
usr
address variable name match one found inaddresses_wallets.sol
-
tot
(Total stream amount) matches Exec Doc - IF
ether
keyword is used, comment is present on the same line// Note: ether is a keyword helper, only MKR is transferred here
- IF vest amount is expressed in 'per year' or similar in the Exec Doc, account for leap days
-
bgn
(Vest start timestamp) matches Exec Doc -
tau
is expressed asbgn - fin
(i.e.MONTH_DD_YYYY - MONTH_DD_YYYY
) -
fin
(Vest end timestamp) matches Exec Doc -
eta
(Vest cliff duration) matches the following logic- IF
eta
is explicitly specified in the Exec Doc, then the values match - IF
eta
andclf
(Cliff end timestamp) are not specified in the Exec Doc, theneta
is0
- IF
clf
is specified, butclf <= bgn
, theneta
is0
- IF
clf
is specified andclf > bgn
,eta
is expressed asclf - bgn
(i.e.MONTH_DD_YYYY - MONTH_DD_YYYY
)
- IF
- IF
mgr
(Vest manager address) is specified in the Exec Doc, matches the value, OTHERWISE matchesaddress(0)
- Ensure that max vesting rate (
cap
) is enough for the new streams- The maximum vesting rate (
tot
divided bytau
)<=
the maximum vest streaming rate (cap
) - The maximum vesting rate (
tot
divided bytau
)>
the maximum vest streaming rate (cap
) - Calculate new
cap
value equal to 10% greater than the new maximum vesting rate, then round newcap
up with 2 significant figure precision (i.e. 2446 becomes 2500)
- The maximum vesting rate (
- IF max vesting rate (
cap
) is changed in the spell- Governance facilitators were notified
- Exec Sheet contain explicit instruction
- Exec Doc contain explicit instruction
- IF MKR stream (DssVestTransferrable) is present
- Vest contract's MKR allowance increased by the cumulative
total
(the sum of alltot
values) - Ensure allowance increase follows archive patterns
- Vest contract's MKR allowance increased by the cumulative
- Tested via
testVestDAI
ortestVestMKR
-
- IF
MKR
orDAI
vest termination (Yank
) is present- Yanked stream ID matches Exec Doc
-
MCD_VEST_MKR_TREASURY
chainlog address is used for MKR streamyank
-
MCD_VEST_DAI
chainlog address is used for DAI streamyank
- Tested via
testYankDAI
ortestYankMKR
- IF
- IF SubDAO-related content is present
- IF SubDAO provides SubProxy spell address
- SubDAO spell address matches Exec Doc
- Executed via
ProxyLike(SUBDAO_PROXY).exec(SUBDAO_SPELL, abi.encodeWithSignature("execute()"));
- Execution is NOT delegate call
- IF SubDAO spell deployer is a smart contract (e.g. multisig or factory), ensure the deployer address is in
addresses_deployers.sol
as an entry - Ensure that SubDAO spell have enough gas and does not revert with "out of gas" error inside simulation. Note: low level call gas estimation is not done by our scripts
- IF SubDAO provides instructions to be executed by the main spell (i.e. that will operate within Pause Proxy
DelegateCall
context)- No SubDAO contract being interacted with is authed on a core contract like
vat
, etc. (Check comprehensively where the risk is high) - SubDAO contract licensing and optimizations generally do not matter (except where they pose a security risk)
- SubDAO contracts and all libraries / dependencies have verified source code (Blocking)
- Upgradable SubDAO contracts
- Upgradable contracts have the
PAUSE_PROXY
as theiradmin
(i.e. the party that can upgrade) - Any upgradable SubDAO contracts with an
admin
that is notPAUSE_PROXY
are not authed on any core contracts (Blocking)
- Upgradable contracts have the
- All SubDAO content addresses (i.e. provided contract addresses or EOAs) present in the Maker Core spell are present in the Exec Doc and are correct. SubDAO addresses being authed or given any permissions MUST be in the Exec Doc. SubDAO addresses being called must be confirmed by the SubDAO spell team.
- IF addresses not PR'ed in by the SubDAO team (use git blame for example), SubDAO content addresses all have inline comment for provenance or source being OKed by SubDAO
- SubDAO actions match Exec Doc (only where inline with main spell code) and do not affect core contracts
- Core contract knock-on actions (such as offboarding or setting DC to 0) are present in the exec and match the code
- External calls for SubDAO content are NOT delegate call
- Code does not have untoward behavior within the scope of Maker Core Contracts (e.g. up to the SubDAO proxy)
- No SubDAO contract being interacted with is authed on a core contract like
- IF SubDAO provides SubProxy spell address
- IF external contracts calls are present (Not SubDAOs, e.g. Starknet)
- Target Contract doesn't block spell execution
- External call is NOT
delegatecall
- Target Contract doesn't have permissions on the Vat
- Target Contract doesn't do anything untoward (e.g. interacting with unsafe contracts)
- Contracts deployed via
CREATE2
(e.g. if it looks like a vanity address) do not haveselfdestruct
in their code - MCD Pause Proxy doesn't give any approvals
- All possible actions of the Target Contract are documented
- Target contract is not upgradable
- Target Contract is included in the ChainLog
- Test Coverage is comprehensive
- IF spell interacts with ChainLog
- ChainLog version is incremented based on update type
- Major -> New Vat (++.0.0)
- Minor -> Core Module (DSS) Update (e.g. Flapper) (0.++.0)
- Patch -> Collateral addition or addition/modification (0.0.++)
- New addresses are added to the
addresses_mainnet.sol
- Changes are tested via
testNewOrUpdatedChainlogValues
- ChainLog version is incremented based on update type
- Ensure every spell variable is declared as
public
/internal
- Ensure
immutable
visibility is only used when fetching addresses from theChainLog
viaDssExecLib.getChangelogAddress(key)
andconstant
is used instead for static addresses- Fetch addresses as type
address
and wrap withLike
suffix interfaces inline (when making calls), UNLESS archive patterns permit otherwise (Such asMKR
) - Use the DssExecLib Core Address Helpers where possible (e.g.
DssExecLib.vat()
) - Where addresses are fetched from the
ChainLog
, the variable name must match the value of the ChainLog key for that address (e.g.MCD_VAT
rather thanvat
), except where the archive pattern differs from this pattern (e.g. MKR)
- Fetch addresses as type
- Spell actions match the corresponding Exec Doc
- Tests
- Ensure each spell action has sufficient test coverage List actions for which coverage was checked here
- Ensure every test function is declared as public if enabled or private if disabled
- Ensure that the
DssExecLib.address
file is not being modified by the spell PR - Check all CI tests are passing as at the latest commit Insert most recent commit hash where CI was passing
- Ensure that any other env variable does not affect execution of the tests (for example, by inspecting the output of
printenv | grep "FOUNDRY_\|DAPP_"
) - Check all tests are passing locally using
make test
_Insert your local test logs here_
- Source code settings
- Deployed spell is verified on etherscan
- Optimization enabled:
false
UNLESS the contract size is too big AND all mitigation strategies (i.e.: removing revert strings) have failed - Default evmVersion
- GNU AGPLv3 license
- Source code validity
- Deployed spell code matches source on github. (can be checked via
make diff-deployed-spell
or manually) - No new changes are made after previously given "good to deploy"
- Deployed spell code matches source on github. (can be checked via
- Deployed spell Etherscan checks
- Automated checks via
make check-deployed-spell
- Verified
- Valid license
- Version matches
- Optimizations are disabled
- dss-exec-lib library address used (under 'Libraries Used') matches the hardcoded local
DssExecLib.address
file -
deployed_spell_created
matches deployment timestamp -
deployed_spell_block
matches deployment block number
- Manual checks
- Ensure
make deploy-info tx=<tx>
matches config-
deployed_spell_created
timestamp -
deployed_spell_block
block number
-
- Check again that the PR did not modify the
DssExecLib.address
file (e.g. look under the 'Files Changed' PR tab, etc.) - Ensure Etherscan
Libraries Used
matches DssExecLib Latest Release - (For your tests to be accurate) git submodule hash matches dss-exec-lib latest release's tag commit and inspect diffs if doesn't match to ensure expected behaviour (Currently Non-Critical pending the next DssExecLib release, double check that the ExecLib used by the contract matches the latest release)
- Ensure
- Automated checks via
- Archive checks
-
make diff-archive-spell
for current date ormake diff-archive-spell date="YYYY-MM-DD"
- Ensure date corresponds to target Exec Doc date
-
- Tests
- Ensure that the
DssExecLib.address
file is not being modified by the spell PR - Check all CI tests are passing as at the latest commit Insert most recent commit hash where CI was passing
- Ensure that any other env variable does not affect execution of the tests (for example, by inspecting the output of
printenv | grep "FOUNDRY_\|DAPP_"
) - Check all tests are passing locally using
make test
- Ensure that the
_Insert your local test logs here_
- Check that the spell address posted by the crafter in
new-spells
is correct - Confirm the address in the
new-spells
channel (via a separate "reply to" message, restating the address to avoid edits)- Wait until responsible governance facilitator confirms handover in
new-spells
- Wait until responsible governance facilitator confirms handover in
- Ensure that no changes were made to the code since the spell was deployed and archived
- Approve spell PR for merge via 'Approve' review option