Skip to content

Commit fd2383a

Browse files
committed
address another round of PR reviews
1 parent 5a1528b commit fd2383a

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

spell/spell-crafter-mainnet-workflow.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ Repo: https://github.com/makerdao/spells-mainnet
6666
* [ ] Remove unused interface declarations
6767
* Ensure correctness of the cleanup
6868
* [ ] Run Tests `make test` (or `make test match=<test_name>` to inspect debug traces)
69+
* [ ] Run `make safeharbor-generate` to ensure that updates matches the bug bounty updates instructions on the Exec Sheet.
70+
* [ ] If there is a mismatch, notify Governance Facilitators.
6971
* Add comments to the spell based on the relevant [Exec Sheet](https://docs.google.com/spreadsheets/d/1w_z5WpqxzwreCcaveB2Ye1PP5B8QAHDglzyxKHG3CHw)
7072
* [ ] Copy every _Section text_ from the Exec Sheet as comment to the spell code
7173
* [ ] Surround the comment by the set of dashes (e.g. `// ----- Section text -----`)
@@ -126,13 +128,13 @@ Repo: https://github.com/makerdao/spells-mainnet
126128
* [ ] Adjust system values, collateral values inside `config.sol`
127129
* [ ] Ensure every spell variable is declared as public/internal
128130
* Bug Bounty Registry Updates
129-
* [ ] Check that output of make safeharbor-generate matches the instructions provided by Governance Facilitators
131+
* [ ] Check that output of `make safeharbor-generate` matches the instructions provided by Governance Facilitators
130132
* [ ] If no instructions were provided and script produces "no changes", then no further action is required
131133
* [ ] If there is a mismatch, crafter should notify Governance Facilitators
132134
* [ ] If the scripts outputs a warning indicated by ⚠️ ❗, notify Governance Facilitators.
133135
* [ ] If the command outputs a solidity snippet that matches the instructions provided by Governance Facilitators:
134136
* [ ] Paste the generated code into the spell as is. The code should not be modified. You may adjust formatting
135-
* [ ] Import the `AGREEMENT_ADDRESS` from the `ChainLog`
137+
* [ ] Fetch the agreement address from the `ChainLog`
136138
* [ ] If not already present, add the helper function to perform the call, using the established archive pattern.
137139
* Add specific tests in `DssSpell.t.sol` to have sufficient test coverage for every spell action
138140
* [ ] Test new collaterals
@@ -228,7 +230,7 @@ Repo: https://github.com/makerdao/spells-mainnet
228230
* [ ] Create testnet and cast deployed spell there using `make cast-on-tenderly spell=0x...` command
229231
* [ ] Check that returned `public explorer url` is publicly accessible (e.g. using incognito browser mode)
230232
* [ ] IF `cast-on-tenderly` command is executed several times for the same spell, delete all testnets of the same name except the last one
231-
* [ ] `make safeharbor-generate` returns empty diff in the testnet environment after spell was cast
233+
* [ ] `make safeharbor-generate` returns "no updates" in the testnet environment after spell was cast
232234
* [ ] Archive Spell via `make archive-spell` for the current date (or `make archive-spell date="YYYY-MM-DD"`) using Target Date inside the Exec Doc
233235
* [ ] Commit & push changes for review
234236
* [ ] Wait for CI to PASS

spell/spell-reviewer-mainnet-checklist.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
* [ ] 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 to `false`
2020
* [ ] Office hours value matches the Exec Sheet
2121
* [ ] 30 days spell expiry set in the constructor (`block.timestamp + 30 days`)
22+
* [ ] `make safeharbor-generate` outputs matches the instructions on the Exec Sheet. If there is a mismatch, notify Governance Facilitators.
2223
* Spell description
2324
* [ ] Description follows the format `TARGET_DATE MakerDAO Executive Spell | Hash: EXEC_DOC_HASH`
2425
* [ ] `TARGET_DATE` in the description matches the target date
@@ -391,6 +392,7 @@ _Insert your local test logs here_
391392
* [ ] No reverts are present that block execution
392393
* [ ] No out-of-gas errors are present
393394
* [ ] `make safeharbor-generate` against the testnet returns "no updates"
395+
* [ ] If the script outputs a warning indicated by ⚠️ ❗, notify Governance Facilitators.
394396
* Archive checks
395397
* [ ] `make diff-archive-spell` for current date or `make diff-archive-spell date="YYYY-MM-DD"`
396398
* [ ] Ensure date corresponds to target Exec Doc date

0 commit comments

Comments
 (0)