Skip to content

Comments

Add pausable#22

Merged
andrew-fleming merged 18 commits intomainfrom
add-pausable
Apr 26, 2025
Merged

Add pausable#22
andrew-fleming merged 18 commits intomainfrom
add-pausable

Conversation

@andrew-fleming
Copy link
Contributor

Fixes #18.

This PR proposes to:

  • Add Pausable
  • Add security/ directory
  • Move Initializable and Pausable within security/

@andrew-fleming andrew-fleming requested review from 0xisk and emnul April 8, 2025 02:34
Copy link
Member

@0xisk 0xisk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @andrew-fleming! LGTM overall just left there is a one comment regarding the Initializable.

@andrew-fleming andrew-fleming requested a review from 0xisk April 22, 2025 22:56
Copy link
Member

@0xisk 0xisk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thank you @andrew-fleming!

@andrew-fleming andrew-fleming merged commit b6f5215 into main Apr 26, 2025
@andrew-fleming andrew-fleming deleted the add-pausable branch April 26, 2025 05:53
emnul pushed a commit that referenced this pull request Jun 5, 2025
* add pausable

* update repo structure

* move mock contracts to mocks dir

* fix initializable tests

* move mocks to test

* add comments to pausable simulator

* add return type to isPaused

* add line

* fix comment

* simplify build script

* improve simulator export

* fix test file name

* Rename pausable.test.ts to Pausable.test.ts

* chore: initializable in pausable style (#34)

* move initializable and pausable to utils/

* remove barrel files, fix tests

* update initializable mock, sim, and tests

---------

Co-authored-by: Iskander <iskander.andrews@openzeppelin.com>
andrew-fleming added a commit that referenced this pull request Jun 25, 2025
* add pausable

* update repo structure

* move mock contracts to mocks dir

* fix initializable tests

* move mocks to test

* add comments to pausable simulator

* add return type to isPaused

* add line

* fix comment

* simplify build script

* improve simulator export

* fix test file name

* Rename pausable.test.ts to Pausable.test.ts

* chore: initializable in pausable style (#34)

* move initializable and pausable to utils/

* remove barrel files, fix tests

* update initializable mock, sim, and tests

---------

Co-authored-by: Iskander <iskander.andrews@openzeppelin.com>
emnul pushed a commit that referenced this pull request Jun 26, 2025
* add pausable

* update repo structure

* move mock contracts to mocks dir

* fix initializable tests

* move mocks to test

* add comments to pausable simulator

* add return type to isPaused

* add line

* fix comment

* simplify build script

* improve simulator export

* fix test file name

* Rename pausable.test.ts to Pausable.test.ts

* chore: initializable in pausable style (#34)

* move initializable and pausable to utils/

* remove barrel files, fix tests

* update initializable mock, sim, and tests

---------

Co-authored-by: Iskander <iskander.andrews@openzeppelin.com>
emnul pushed a commit that referenced this pull request Jun 26, 2025
* add pausable

* update repo structure

* move mock contracts to mocks dir

* fix initializable tests

* move mocks to test

* add comments to pausable simulator

* add return type to isPaused

* add line

* fix comment

* simplify build script

* improve simulator export

* fix test file name

* Rename pausable.test.ts to Pausable.test.ts

* chore: initializable in pausable style (#34)

* move initializable and pausable to utils/

* remove barrel files, fix tests

* update initializable mock, sim, and tests

---------

Co-authored-by: Iskander <iskander.andrews@openzeppelin.com>
emnul pushed a commit that referenced this pull request Jun 26, 2025
* add pausable

* update repo structure

* move mock contracts to mocks dir

* fix initializable tests

* move mocks to test

* add comments to pausable simulator

* add return type to isPaused

* add line

* fix comment

* simplify build script

* improve simulator export

* fix test file name

* Rename pausable.test.ts to Pausable.test.ts

* chore: initializable in pausable style (#34)

* move initializable and pausable to utils/

* remove barrel files, fix tests

* update initializable mock, sim, and tests

---------

Co-authored-by: Iskander <iskander.andrews@openzeppelin.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Pausable

2 participants