Skip to content
This repository has been archived by the owner on Jan 27, 2025. It is now read-only.

[Chore] Refactor .unwrap() with Match in /ol/devnet folder #1184

Open
0xzoz opened this issue Nov 2, 2022 · 0 comments
Open

[Chore] Refactor .unwrap() with Match in /ol/devnet folder #1184

0xzoz opened this issue Nov 2, 2022 · 0 comments

Comments

@0xzoz
Copy link
Collaborator

0xzoz commented Nov 2, 2022

Bounty - 2000 GAS

What is the issue

During the development of the initial implementation of 0L. Work was done quickly to meet deadlines and because of this .unwrap() was used in some instances to speed up development. These need to be cleaned up.

What needs to be done?

  • Go through the /ol/devnet folder in the root and remove instances of .unwrap() by refactoring the code and adding a match statement. This may include refactoring of related files that the code is coupled to.

Intention

This issue is part of the Tool Scrubbers Guild

The idea behind this issue is to create manageable first tasks for relatively novice prospective developers looking to learn more about Rust and 0L. Not all of the unwraps will need to be refactored and part of the exercise is determining if the .unwraps() could be refactored or if they are already best practice depending on the situation

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant