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 95 commits into
base: main
Choose a base branch
from
Open

[tracking branch] Next Release #175

wants to merge 95 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 <nayyir.jutha@gmail.com>

* fixups

---------

Co-authored-by: Nayyir Jutha <nayyir@entropy.xyz>
Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com>
* [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 <nayyir@entropy.xyz>
Co-authored-by: mix irving <mix@protozoa.nz>
Co-authored-by: mix irving <mix@protozoa.nz>
[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 <frankie.diamond@gmail.com>

---------

Co-authored-by: Nayyir Jutha <nayyir@entropy.xyz>
Co-authored-by: Frankie <frankie.diamond@gmail.com>
- 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 <nayyir@entropy.xyz>
* [RELEASE] v0.0.2

* Improves README.

* Updates table-of-contents.

---------

Co-authored-by: Frankie <frankie.diamond@gmail.com>
Co-authored-by: Nayyir Jutha <nayyir@entropy.xyz>
* Update README.md

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

* patch

* easier diff
mixmix and others added 26 commits September 17, 2024 15:05
* [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
* 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 <mix@protozoa.nz>
* 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 <nayyir.jutha@gmail.com>
* [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 <mix@protozoa.nz>
* [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 <mix@protozoa.nz>

* var mistakenly removed

---------

Co-authored-by: mix irving <mix@protozoa.nz>
* 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 <nayyir.jutha@gmail.com>

* Update tests/faucet.test.ts

Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com>

* fixed test

---------

Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com>

* updated default testnet endpoint

* updated for release

* Update src/common/utils-cli.ts

* revert setupTest to have unique temp configPaths

---------

Co-authored-by: mixmix <mix@protozoa.nz>
@rh0delta rh0delta marked this pull request as ready for review October 24, 2024 00:58
rh0delta and others added 3 commits October 25, 2024 14:34
* [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 <frankie.diamond@gmail.com>
* fix arguments

* rename test/program{s,}.test.ts

* update README CHANGELOG

* Update CHANGELOG.md

---------

Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com>
* tidy faucet functions

* mention needing /etc/hosts file edit

* extract formatDispatchError BITS_PER_TOKEN

* fixups

* test /etc/hosts aliases

* fix formatDispatchError

* rm only

* resolve questions

* fixups

* bump

* Update src/common/constants.ts

* Update tests/faucet.test.ts

* Update tests/faucet.test.ts

* tidyups

* Update tests/faucet.test.ts

Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com>

---------

Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com>
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