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

[tracking branch] Next Release #175

Open
wants to merge 93 commits into
base: main
Choose a base branch
from
Open

[tracking branch] Next Release #175

wants to merge 93 commits into from

Conversation

frankiebee
Copy link
Collaborator

This is to track changes on dev against main

rh0delta and others added 30 commits July 8, 2024 18:56
- converted creating an account to pure function
- added tests for creating an account
- renamed some files for organization and consistency
- updated folder structure for consistency
- added new method for adding programs as a pure function
- added tests
- added new service file for view program pure function
- added tests
* write tests for migrating config encoding

* complete migration 02 test

* add better config encode/decode

* fix migration
* [NayNay] Debug Log

- install and integrated winston logging library into cli
- allowing us to be able to log any and everything to the respective files saved in the ~/path/to/syslogs/entropy-cryptography/entropy-cli.*.log
- included example use of new logger in the tui flow for balance

* chill the logs out!

* Update src/common/logger.ts

Co-authored-by: Nayyir Jutha <[email protected]>

* fixups

---------

Co-authored-by: Nayyir Jutha <[email protected]>
Co-authored-by: Nayyir Jutha <[email protected]>
* [NayNay] User Programs: Add Program + testing

- updated folder structure for consistency
- added new method for adding programs as a pure function
- added tests

* updated changelog

* updated chagelog;

---------

Co-authored-by: Nayyir Jutha <[email protected]>
[NayNay] Create Account Refactor + Testing
[NayNay] User Program Management::View Programs + Testing
* [NayNay] Entropy Register + Unit Tests

- added new register pure function
- imported new types from sdk
- added unit test for default register

* fixed a false wpositive with register test

* added test for full use of register with new program

* updated changelog

* Update src/common/masking.ts

Co-authored-by: Frankie <[email protected]>

---------

Co-authored-by: Nayyir Jutha <[email protected]>
Co-authored-by: Frankie <[email protected]>
- added new service file for remove program pure function
- updated unit test file for user program management to reduce spin up and down of node
- added new test for removing programs

Co-authored-by: Nayyir Jutha <[email protected]>
* [RELEASE] v0.0.2

* Improves README.

* Updates table-of-contents.

---------

Co-authored-by: Frankie <[email protected]>
Co-authored-by: Nayyir Jutha <[email protected]>
* Update README.md

* Fixed TOC.
* patch sign reverse-order bug for CLI

* patch

* easier diff
rh0delta and others added 28 commits August 29, 2024 12:44
* [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 <[email protected]>
* [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 <[email protected]>

* pr review updates

* Update src/cli.ts

* account-restructure tweaks (#226)

---------

Co-authored-by: mixmix <[email protected]>
* get all config.get* methods fail safely

* fix getSync so that it mkdirps
* 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
…ate first account, updated choices to be array and removed noop fns
refactor entropy register so CLI/TUI are similar
* [NayNay] Removing Mention of Password as there is no Encryption yet

resolves #239

- removed use of passowrd from account main and command
- removed use of password from balance command
- removed use of password from old flows directory

* removed the rest of usage of password encryption in the cli;
* udpated tests, wrote new test to test failed route for register but running into an issue with tape possibly, commented test out for now

* removing unnecessary reset
* fix cli opts bug with multiple accountOptions

* drop async argParser function! (unsupported)

* add setSelectedAccount
* wip - template

* wup

* Update README.md

* finish up

* tidy

---------

Co-authored-by: mixmix <[email protected]>
* WIP: QA file-restructure

* fixes

* more tweaks

* Update src/config/encoding.ts

* Update tests/qa.sh

* fixups

* rm commander.test.ts

* fix cli opts bug with multiple accountOptions

* drop async argParser function! (unsupported)

* tweeeks

* add setSelectedAccount

* push verifyingKeys into admin account

* revert: push verifyingKeys into registration keyring account

* reverting changes from new sdk

* Update src/config/types.ts

---------

Co-authored-by: Nayyir Jutha <[email protected]>
* [NayNay] Moving Facuet to main menu

- resolves #234

* updated changelog
* [NayNay] Signing error messaging

- updated signing error handling to return human readbale message when user tries to sign without registering first

* tidy

---------

Co-authored-by: mixmix <[email protected]>
* [NayNay] Faucet Loader

- resolves #236

- adds spinner to faucet, using new lightweight library yocto-spinner

* updated changelog

* Update src/faucet/interaction.ts

Co-authored-by: mix irving <[email protected]>

* var mistakenly removed

---------

Co-authored-by: mix irving <[email protected]>
* wip: integrating new sdk with new core changes

* wip: updating tests with four-nodes

* [NayNay] Updating CLI with new sdk rc

- updated CLI with new sdk rc, and made changes to reflect the changes from core/sdk
- updated network type defualt to four-nodes
- added jump-start network to the initialization of entropy for both cli and tui
- updated all tests to reflect changes

* updated hosts file for CI

* updated faucet test to refine setup faucet mwethod

* updated rc

* trying something here...

* removing logs

* fixed tests due to faulty config, added new dev choice to manually jump start network

* added loader to jumpstart

* created new option for endpoint in tui

* Mixmix/new sdk rc (#263)

* exract "fundAccount" from tests

* extraaact

* tidy

* Update tests/faucet.test.ts

Co-authored-by: Nayyir Jutha <[email protected]>

* Update tests/faucet.test.ts

Co-authored-by: Nayyir Jutha <[email protected]>

* fixed test

---------

Co-authored-by: Nayyir Jutha <[email protected]>

* updated default testnet endpoint

* updated for release

* Update src/common/utils-cli.ts

* revert setupTest to have unique temp configPaths

---------

Co-authored-by: mixmix <[email protected]>
@rh0delta rh0delta marked this pull request as ready for review October 24, 2024 00:58
* [NayNay] Entropy Version

- added option to display versions

* updated changelog

* frankie did some things and they seem fixed

* adding shell to github actions

* trying something new

* shenanigans

* remove unnecessary lines

* updated changelog

---------

Co-authored-by: frankie <[email protected]>
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.

5 participants