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

Refactored some unwrap commands #1163

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MichaelZelbel
Copy link

Refactored unwrap statements in account.rs, block.rs and config.rs within ol.

The work is far from finished, but as these are my first baby steps with Rust, I rather commit something smaller to get early feedback on the things that I did not get right yet. If you find it to be a total mess, you can provide general feedback instead of going through all changes. Then I am going to redo it accordingly.

Test Plan

I compiled the code, ran the onboarding wizard to generate the config files and the first proof, created a validator node, started node, tower and web monitor. All worked without problems on Ubuntu 20.04, AMD processor.

refactored two unwraps in account.rs

create_manifest returns result

accept results in manifest.rs and wizard_

OKs added

Update wizard_fork_cmd.rs

Update wizard_fork_cmd.rs

match number 2

Update fix_cmd.rs

updated matches

Update wizard_val_cmd.rs

Update wizard_val_cmd.rs

cleaned account.rs

Update account.rs

Update account.rs

Update account.rs

Update account.rs

Update account.rs

Multiple files

Update account.rs

block.rs

Update account.rs

Update account.rs

Update account.rs

Update account.rs

Update wizard_fork_cmd.rs

Update account.rs

Update account.rs

Update account.rs

Update account.rs

Update account.rs

Update account.rs

Update whoami_cmd.rs

Update whoami_cmd.rs

Update whoami_cmd.rs

valconfig

Update manifest.rs

Update wizard_fork_cmd.rs

Update wizard_fork_cmd.rs

Update wizard_fork_cmd.rs

Update wizard_user_cmd.rs

Update wizard_user_cmd.rs

Update wizard_val_cmd.rs

Update wizard_val_cmd.rs

Update wizard_val_cmd.rs

Update manifest.rs

Update manifest.rs

Update account.rs

Update wizard_fork_cmd.rs

Update wizard_fork_cmd.rs

removed OKs

removed error

Update account.rs

Update account.rs

Update account.rs

Update account.rs

Update account.rs

Update account.rs

Update account.rs

Update account.rs

Update account.rs

Update account.rs

Update account.rs

Update account.rs

Update account.rs

Update account.rs

Update account.rs

Update account.rs

Update account.rs

Update wizard_user_cmd.rs

option

Update block.rs

Update block.rs

config

Update config.rs

Update config.rs

Update config.rs

Update config.rs

Update config.rs

Update config.rs

Refactored unrwap statements in in account.rs, block.rs and config.rs

Refactored unrwap statements
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.

1 participant