Skip to content
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

Pausable Library #198

Closed
bitzoic opened this issue Oct 20, 2023 · 0 comments · Fixed by #200
Closed

Pausable Library #198

bitzoic opened this issue Oct 20, 2023 · 0 comments · Fixed by #200
Assignees
Labels
Lib: Security Label used to filter for the library issue New Feature New addition that does not currently exist

Comments

@bitzoic
Copy link
Member

bitzoic commented Oct 20, 2023

Motivation

Description

Certain apps implement a pause function when initially deploying to give it "training wheels". This functionality should be encapsulated into a library.

Motivation

To enable an emergency stop function.

@bitzoic bitzoic added New Feature New addition that does not currently exist Lib: Security Label used to filter for the library issue labels Oct 20, 2023
@bitzoic bitzoic self-assigned this Oct 20, 2023
@bitzoic bitzoic linked a pull request Oct 23, 2023 that will close this issue
bitzoic added a commit that referenced this issue Oct 30, 2023
## Type of change

<!--Delete points that do not apply-->

- New Library

## Changes

The following changes have been made:

- Introduces the pausable library to the repo

## Notes

- The original design used a packet-oriented approach. However due to
changes in gas outlined
[here](FuelLabs/fuel-core#1408 (comment)),
a storage approach has instead been selected as mint/burn opcodes have
become significantly more expensive.

## Related Issues

<!--Delete everything after the "#" symbol and replace it with a number.
No spaces between hash and number-->

Closes [#199 ](#198)

---------

Co-authored-by: bitzoic <bitzoic.eth@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Lib: Security Label used to filter for the library issue New Feature New addition that does not currently exist
Projects
None yet
1 participant