Skip to content

Commit

Permalink
chore: move checklist block
Browse files Browse the repository at this point in the history
  • Loading branch information
Sweaty Pumpkin authored and Sweaty Pumpkin committed Nov 7, 2023
1 parent b29eec6 commit dd68ec9
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
28 changes: 14 additions & 14 deletions spell/spell-crafter-goerli-workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,20 @@ PR: https://github.com/makerdao/spells-goerli/pull/<TODO>
* [ ] Set `deployed_spell` to `address(0)`
* [ ] Set `deployed_spell_created` to `0`
* [ ] Set `deployed_spell_block` to `0`
* [ ] Add comments to the spell:
* [ ] Copy every _Section text_ from the Exec Sheet as comment to the spell code (above the code segment that implements the action)
* [ ] Surround the comment by the set of dashes (E.g. `// ----- Section text -----`)
* [ ] For every _Instruction text_ Exec Sheet:
* [ ] copy to the spell code as `// Instruction text`
* [ ] add newline above it
* [ ] For every `Reasoning URL` and `Authority URL` from the Exec Sheet add comment with it under relevant section or instruction in the spell code (depending on which row the link is present)
* [ ] For every `Reasoning URL` and `Authority URL` add prefix derived from the url itself
* [ ] `// Executive Vote:` if URL starts with `https://vote.makerdao.com/executive/`
* [ ] `Poll:` if URL starts with `https://vote.makerdao.com/polling/`
* [ ] `Forum:` if URL starts with `https://forum.makerdao.com/t/`
* [ ] `MIP:` if URL starts with `https://mips.makerdao.com/mips/details/`
* [ ] If action in the spell doesn't have relevant instruction (e.g.: `chainlog` version bump), it add explanation prefixed with `// Note:`
* [ ] If an instruction can not be taken, add a comment under the instruction prefixed with `// Note:` (e.g.: `// Note: Payments are skipped on goerli`)
* [ ] Cleanup Specific Tests in `DssSpell.t.sol`
* [ ] Check previous spells in the `archive` folder for cleanup patterns
* [ ] Disable specific tests IF Not Used (e.g. `testCollateralIntegrations`, `testNewChainlogValues`, `testNewIlkRegistryValues`, ...)
Expand Down Expand Up @@ -87,20 +101,6 @@ PR: https://github.com/makerdao/spells-goerli/pull/<TODO>
* [ ] Use DssExecLib Functions
* [ ] Ensure `DssExecLib` address used in current spell (`DssExecLib.address`) matches `dss-exec-lib` [Latest Release Tag](https://github.com/makerdao/dss-exec-lib/releases/latest)
* [ ] Check previous spells for common patterns
* [ ] Add comments to the spell:
* [ ] Copy every _Section text_ from the Exec Sheet as comment to the spell code (above the code segment that implements the action)
* [ ] Surround the comment by the set of dashes (E.g. `// ----- Section text -----`)
* [ ] For every _Instruction text_ Exec Sheet:
* [ ] copy to the spell code as `// Instruction text`
* [ ] add newline above it
* [ ] For every `Reasoning URL` and `Authority URL` from the Exec Sheet add comment with it under relevant section or instruction in the spell code (depending on which row the link is present)
* [ ] For every `Reasoning URL` and `Authority URL` add prefix derived from the url itself
* [ ] `// Executive Vote:` if URL starts with `https://vote.makerdao.com/executive/`
* [ ] `Poll:` if URL starts with `https://vote.makerdao.com/polling/`
* [ ] `Forum:` if URL starts with `https://forum.makerdao.com/t/`
* [ ] `MIP:` if URL starts with `https://mips.makerdao.com/mips/details/`
* [ ] If action in the spell doesn't have relevant instruction (e.g.: `chainlog` version bump), it add explanation prefixed with `// Note:`
* [ ] If an instruction can not be taken, add a comment under the instruction prefixed with `// Note:` (e.g.: `// Note: Payments are skipped on goerli`)
* [ ] Adjust System Values, Collateral Values in `config.sol` (i.e. diffcheck via vscode `code --diff config1.sol config2.sol`) with `spells-mainnet`)
* [ ] Add Specific Tests in `DssSpell.t.sol` (i.e. diffcheck via vscode `code --diff source1.sol source2.sol`) with `spells-mainnet`)
* [ ] Add new collateral tests
Expand Down
28 changes: 14 additions & 14 deletions spell/spell-crafter-mainnet-workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@ Repo: https://github.com/makerdao/spells-mainnet
* [ ] Set `deployed_spell_created` to `0`
* [ ] Set `deployed_spell_block` to `0`
* [ ] Consider to add `previous_spell` address if it haven't been executed yet
* [ ] Add comments to the spell:
* [ ] Copy every _Section text_ from the Exec Sheet as comment to the spell code (above the code segment that implements the action)
* [ ] Surround the comment by the set of dashes (E.g. `// ----- Section text -----`)
* [ ] For every _Instruction text_ Exec Sheet:
* [ ] copy to the spell code as `// Instruction text`
* [ ] add newline above it
* [ ] For every `Reasoning URL` and `Authority URL` from the Exec Sheet add comment with it under relevant section or instruction in the spell code (depending on which row the link is present)
* [ ] For every `Reasoning URL` and `Authority URL` add prefix derived from the url itself
* [ ] `// Executive Vote:` if URL starts with `https://vote.makerdao.com/executive/`
* [ ] `Poll:` if URL starts with `https://vote.makerdao.com/polling/`
* [ ] `Forum:` if URL starts with `https://forum.makerdao.com/t/`
* [ ] `MIP:` if URL starts with `https://mips.makerdao.com/mips/details/`
* [ ] If action in the spell doesn't have relevant instruction (e.g.: `chainlog` version bump), it add explanation prefixed with `// Note:`
* [ ] If an instruction can not be taken, add a comment under the instruction prefixed with `// Note:` (e.g.: `// Note: Payments are skipped on goerli`)
* [ ] Cleanup Specific Tests in `DssSpell.t.sol`
* [ ] Check previous spells in the `archive` folder for cleanup patterns
* [ ] Disable specific tests IF Not Used (e.g. `testCollateralIntegrations`, `testNewChainlogValues`, `testNewIlkRegistryValues`, ...)
Expand Down Expand Up @@ -93,20 +107,6 @@ Repo: https://github.com/makerdao/spells-mainnet
* [ ] Use DssExecLib Functions
* [ ] Ensure `DssExecLib` address used in current spell (`DssExecLib.address`) matches `dss-exec-lib` [Latest Release Tag](https://github.com/makerdao/dss-exec-lib/releases/latest)
* [ ] Check previous spells for common patterns
* [ ] Add comments to the spell:
* [ ] Copy every _Section text_ from the Exec Sheet as comment to the spell code (above the code segment that implements the action)
* [ ] Surround the comment by the set of dashes (E.g. `// ----- Section text -----`)
* [ ] For every _Instruction text_ Exec Sheet:
* [ ] copy to the spell code as `// Instruction text`
* [ ] add newline above it
* [ ] For every `Reasoning URL` and `Authority URL` from the Exec Sheet add comment with it under relevant section or instruction in the spell code (depending on which row the link is present)
* [ ] For every `Reasoning URL` and `Authority URL` add prefix derived from the url itself
* [ ] `// Executive Vote:` if URL starts with `https://vote.makerdao.com/executive/`
* [ ] `Poll:` if URL starts with `https://vote.makerdao.com/polling/`
* [ ] `Forum:` if URL starts with `https://forum.makerdao.com/t/`
* [ ] `MIP:` if URL starts with `https://mips.makerdao.com/mips/details/`
* [ ] If action in the spell doesn't have relevant instruction (e.g.: `chainlog` version bump), it add explanation prefixed with `// Note:`
* [ ] If an instruction can not be taken, add a comment under the instruction prefixed with `// Note:` (e.g.: `// Note: Payments are skipped on goerli`)
* [ ] Adjust System Values, Collateral Values in `config.sol` (i.e. diffcheck via vscode `code --diff config1.sol config2.sol`) with `spells-goerli`)
* [ ] Add Specific Tests in `DssSpell.t.sol` (i.e. diffcheck via vscode `code --diff source1.sol source2.sol`) with `spells-goerli`)
* [ ] Add new collateral tests
Expand Down

0 comments on commit dd68ec9

Please sign in to comment.