Skip to content

Conversation

@H3xept
Copy link
Contributor

@H3xept H3xept commented Sep 7, 2022

No description provided.

@H3xept H3xept changed the base branch from master to audit-july-aug-2022 September 7, 2022 15:46
@H3xept H3xept changed the title refactor: replaced custom revert strings with errors refactor: replaced custom revert strings with errors #48 Sep 8, 2022
@ezynda3
Copy link
Contributor

ezynda3 commented Sep 8, 2022

@H3xept Please fix compilation errors.

@ezynda3 ezynda3 merged commit 99b9db7 into audit-july-aug-2022 Sep 9, 2022
@ezynda3 ezynda3 deleted the LF-1407 branch October 5, 2022 14:11
0xDEnYO added a commit that referenced this pull request Oct 8, 2024
….0.0) (#715)

* feat: adds EmergencyPauseFacet

* removes unused diamond cut code

* introduces LibDiamondLoupe to avoid external calls for loupe functions

* cleanup

* registered EmergencyPauseFacet in BSC staging diamond

* adds github action that allows to manually pause the diamond from Github UI

* add team membership verification to git action

* remove push event trigger from git action

* removes unused imports (audit issue#2)

* optimizes modifier (audit issue#3)

* adds indexed keyword to events (audit issue#5)

* inlines a helper function that is only used once (audit issue#6)

* removes unused helper function (audit issue#7)

* removes unnecessary delete statement (audit issue#11)

* adds check to prevent accidental removal of EmergencyPauseFacet

* adds a check to prevent accidental removal of DiamondCutFacet while unpausing (audit issue#13)

* adds test to increase test coverage to 100% (audit issue #15)

* removes duplicate function in helperFunctions.sh

* minor fixes

* adds a test case that checks how many facets we can pause

* remove playground.sh (accidentally committed before)

* removes TODO and adds comment

* adds a check to prevent pausing twice

* used diamondCut function to remove facets so events get emitted (audit issue #12)

* audit report added and log updated

* emergencyPause script updates and staging deployments

* Update script/tasks/diamondEMERGENCYPause.sh

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* remove placeholder git action

* minor fixes from coderabbit reviews

* add fake audit entry to make PR mergable

* add 2nd fake audit entry to make PR mergable

* update warning message text

* test

* test

* test

* revert changes

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants