-
Notifications
You must be signed in to change notification settings - Fork 0
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
[NayNay] CLI/TUI File Restructure #231
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- created new base entropy class to handle the shared nature of the intended use of the class - restructured balance to be in its own parent directory in the root of src - created command and util file to contain pure functions and controller functions
…updated changelog
Co-authored-by: mix irving <mix@protozoa.nz>
…xyz/cli into naynay/base-plus-balance
…ance on every command; used to be passed down to each of the commands; added new option to define new address as selected account
… removed flows/balance directory
- removed flows/entropyTransfer - created new root directory for transfer to house utils, new command file, and types - updated tui and cli with new transfer method
[NayNay] File Restructure: Transfer
* [NayNay] File Restructure: Signing Restructure - created new file structure for signing flow - updated tui/cli with new changes * some cleanup; fixed sign tests * removed inquirer input from commands file, added file inoput back to signing * added raw sign back in * wip: raw sign stuff * wip: finished off last changes for raw sign but need to test * wip: porting to newly defined structure * updated signing to new structure, and added utils-cli from mix pr * updated file structure for balance * updated file structure for transfer * pr review updates * updated to sign not signing * signing-restructure tweeeeks (#220) * tweeeeks * more tweeks * fix tests * rename test * fix maskPayload * test fix * change sign command to just return sig * stdout cleanup for balance and sign * tweeks * fix transfer to allow decimal transfers --------- Co-authored-by: mix irving <mix@protozoa.nz>
* [NayNay] File Restructure: Accounts Restructure - refactoring file structure + flow of accounts in cli/tui * updated new account, list account and selected account with new file structure; still need to update tests * finished updated manage accoutns stuff, updated tests too * updated register flow and moved methods to accounts namespace * updated register tests * cleanup from smoke test * updated changelog * start refactor * WIP: part way refactored account stuff * cleaning up the cleanup for accounts restructure; * forgot something * updated accounts restructure, continuing from mixs changes * Update main.ts * Update manage-accounts.test.ts * fixups * WIP * fixups * compleeeete * get working for fresh install. see WIP * fixed fresh install and using tui, might have fixed cli not sure * updated initialization of entropy and formt of how we instantiate commands * skipping faucet test for now, shenanigans occurring * fixed faucet test * updated tests; * Update command.ts Co-authored-by: mix irving <mix@protozoa.nz> * pr review updates * Update src/cli.ts * account-restructure tweaks (#226) --------- Co-authored-by: mixmix <mix@protozoa.nz>
* get all config.get* methods fail safely * fix getSync so that it mkdirps
…yz/cli into naynay/file-restructure
* fix config (again), rename > accountOption * Update src/cli.ts
* add deploy to CLI, including start of CLI refactor * refactor * tweaks * some renames * migrate program => new structure * fix bugs: no initial account, missing ProgramInfo interface * update config to be more safe * fix config (again), rename > accountOption
* [NayNay] File Restructure: Faucet - restructured faucet to match the new structure * completed restructure, working on tests * updated faucet tests * updated recursion for faucet retry mechanism, reduce calls to the chain * documented some of the methods used for the faucet * added changelog
|
QA fail 🔥 :
|
|
…ate first account, updated choices to be array and removed noop fns
refactor entropy register so CLI/TUI are similar
frankiebee
approved these changes
Sep 30, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did a QA of thir branch and did a lighter code review sense we reviewed code more in smaller PR's
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related Issue(s)
Testing
Checklist
CHANGELOG.md
entry.github.com:entropyxyz/entropy-docs
, where necessary.