-
Notifications
You must be signed in to change notification settings - Fork 11
Include sections for Safeharbor/BugBounties updates #47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 9 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
2fef81d
add sections for safeharbor adoption
0xBasset 1f5dce0
update sections to reflect latest script
0xBasset f0c79a5
adjust to use make commands
0xBasset 4060365
add calldata to dictionary
0xBasset ffbea9f
fix script name error and other comments adjustments
0xBasset 0766476
remame script elsewhere too
0xBasset 18f5fab
remove required comments
0xBasset 10ee338
remove item on comment verification
0xBasset 11f6ac4
adjust list to adhere to new code format
0xBasset 93cbffa
remove function from checklist
0xBasset 5a1528b
addressed PR comments
0xBasset fd2383a
address another round of PR reviews
0xBasset 17cfbed
Merge branch 'master' into safeHarbor
0xBasset 98d305e
Merge branch 'master' into safeHarbor
0xBasset b9ce7a0
addressin PR comments
0xBasset 58ec139
minor formatting
0xBasset c34601b
fix formatting issues
0xBasset File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -125,6 +125,20 @@ Repo: https://github.com/makerdao/spells-mainnet | |||||||||||||||||||||
| * [ ] Changes are tested via `testNewOrUpdatedChainlogValues` | ||||||||||||||||||||||
| * [ ] Adjust system values, collateral values inside `config.sol` | ||||||||||||||||||||||
| * [ ] Ensure every spell variable is declared as public/internal | ||||||||||||||||||||||
| * Bug Bounty Registry Updates | ||||||||||||||||||||||
| * [ ] Run `make safeharbor-generate` command in the `spells-mainnet` repo to check for bug bounty updates | ||||||||||||||||||||||
| * [ ] IF the command outputs a solidity snippet: | ||||||||||||||||||||||
|
SidestreamBurningBanana marked this conversation as resolved.
Outdated
|
||||||||||||||||||||||
| * [ ] Paste the generated code into the spell as is. The code should not be modified. You may adjust formatting. | ||||||||||||||||||||||
| * [ ] Import the `AGREEMENT_ADDRESS` from the `ChainLog` | ||||||||||||||||||||||
|
SidestreamBurningBanana marked this conversation as resolved.
Outdated
|
||||||||||||||||||||||
| * [ ] If not already present, add the helper function to perform the call: | ||||||||||||||||||||||
| ```solidity | ||||||||||||||||||||||
| function _updateSafeHarbor(bytes[] memory calldatas) public { | ||||||||||||||||||||||
| for (uint256 i = 0; i < calldatas.length; i++) { | ||||||||||||||||||||||
| (bool success, ) = address(AGREEMENT_ADDRESS).call(calldatas[i]); | ||||||||||||||||||||||
| require(success, "SaferHarbor call failed"); | ||||||||||||||||||||||
| } | ||||||||||||||||||||||
| } | ||||||||||||||||||||||
| ``` | ||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm, not sure we want to have the function in the checklist. Maybe we just reference the archive:
Suggested change
|
||||||||||||||||||||||
| * Add specific tests in `DssSpell.t.sol` to have sufficient test coverage for every spell action | ||||||||||||||||||||||
| * [ ] Test new collaterals | ||||||||||||||||||||||
| * [ ] Test new ilk registry values | ||||||||||||||||||||||
|
|
@@ -139,6 +153,8 @@ Repo: https://github.com/makerdao/spells-mainnet | |||||||||||||||||||||
| * [ ] Sanity checks of the constructor arguments | ||||||||||||||||||||||
| * [ ] Sanity checks of all values added/updated by the spell function | ||||||||||||||||||||||
| * [ ] End-to-end "happy path" interaction with the module | ||||||||||||||||||||||
| * IF bug bounty updates are present | ||||||||||||||||||||||
| * [ ] Test that all bug bounty registry calls execute successfully | ||||||||||||||||||||||
|
SidestreamBurningBanana marked this conversation as resolved.
|
||||||||||||||||||||||
| * [ ] Tests PASS via `make test` | ||||||||||||||||||||||
| * [ ] 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) | ||||||||||||||||||||||
| * [ ] Push committed content to already opened PR | ||||||||||||||||||||||
|
|
@@ -217,6 +233,7 @@ Repo: https://github.com/makerdao/spells-mainnet | |||||||||||||||||||||
| * [ ] Create testnet and cast deployed spell there using `make cast-on-tenderly spell=0x...` command | ||||||||||||||||||||||
| * [ ] Check that returned `public explorer url` is publicly accessible (e.g. using incognito browser mode) | ||||||||||||||||||||||
| * [ ] IF `cast-on-tenderly` command is executed several times for the same spell, delete all testnets of the same name except the last one | ||||||||||||||||||||||
| * [ ] Verify `make safeharbor-generate` returns empty diff in the casted environment after spell execution. | ||||||||||||||||||||||
|
SidestreamBurningBanana marked this conversation as resolved.
Outdated
|
||||||||||||||||||||||
| * [ ] 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 | ||||||||||||||||||||||
| * [ ] Commit & push changes for review | ||||||||||||||||||||||
| * [ ] Wait for CI to PASS | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.