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

NEXT RELEASE #319

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

NEXT RELEASE #319

wants to merge 66 commits into from

Conversation

mixmix
Copy link
Contributor

@mixmix mixmix commented Dec 3, 2024

PR for dev -> main must have:

mixmix and others added 12 commits November 12, 2024 12:17
* extract network up/down as package scripts

* fix up tests!

* fix tests more!

* calm the yocto down git CI

* chill CI - no yocto

* fixups

* woops

* fixups

* spacing

* tidier
* animated logo *swipe*

* add changelog

* extract printLogo into function, run animation while entropy loads
* cli-fix: `entropy program list` now writes output!

* add changelog
* refactor package.json scripts

* replace makeSeed with polkadot randomAsHex
- updated balance for prg cli to be able to retrieve balance for any address
- using newly exposed utility method to getSubstrate from sdk
* rename config types

* add config types to test
* [NayNay] Updating Units within Entropy

- it had come to our attn that we were using the wrong units for the tokens display
- we were under the impression that bits were the smallest unit of the entropy token, that was a mistake
- updated all mentions of tokens and bits to match their respective definition
- updated return of balance to the human readable format, using BITS
- added new method to grab token details from chain

* updated methods and flows based on pr suggestions, added changelog)

* git weirdness

* git weirdness part ii

* updated nomenclature for the base unit of BITS to nanoBITS

* weird leftover conflict resolution

* updated cli output to be more programmatic and not human sentences, updated amount for faucet to send two whole BITS, rather than a hardcoded string
@mixmix mixmix marked this pull request as draft December 3, 2024 03:54
mixmix and others added 17 commits December 4, 2024 14:52
* [NayNay] Facuet amount as BITS

- updated faucet amount shown to users to be displayed as whole BITS instead of nanoBITS/lilBITS

* updated changelog
* [NayNay] Updating loader for registration and transfer

- removing progress bar for transfer as we are unable to determine the exact time it takes to complete the process
  - replaced progress bar with loader used for faucet
- added loader to registration flow

* updated changelog

* Update CHANGELOG.md

---------

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

* arg... wip notes

* wip

* fixups

* refactor package.json scripts

* replace makeSeed with polkadot randomAsHex

* extract config persistence from loadEntropy

* fix typo

* rename config types

* add config types to test
* fix cli opts bug with multiple accountOptions

* drop async argParser function! (unsupported)

* add setSelectedAccount

* make custom config possible for CLI usage

* cli descriptions refactor

* wip

* fixups

* fixup e2e.cli.sh, rm test.only

* remove default config path from all config functions, fixups

* [NayNay] Testing Mix's Custom Config (#290)

* [NayNay] Testing Mix's Custom Config

- the general purpose of the custom config works, however there is alot of work to be done regarding error handling
- i have only started testing the custom config feature with a file that doesn't exist: ./custom-files/custom-config-<#>.json
- this originally caused issues on the tui and did not allow for anything to start until the tui eventually errored out
- similar errors were found with the cli as well
- ive fixed the tui for the most part
- but theres still lots to do to fix the cli in terms of proper error handling

* Update src/common/utils-cli.ts

* Update src/common/utils-cli.ts

* Update src/common/utils-cli.ts

* Update src/common/utils.ts

---------

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

* make print.error, print.success etc

* fix tui saving accounts

* very WIP refactor

* wire it up

* fixups

* remove .gitignore change

* extract loadEntropy

* arg... wip notes

* wip

* fixups

* refactor package.json scripts

* replace makeSeed with polkadot randomAsHex

* extract config persistence from loadEntropy

* fix typo

* rename config types

* add config types to test

* fix tests

* fix "account register" command bug

* change config.set signature, rm config.getSync

* fix tests

---------

Co-authored-by: Nayyir Jutha <[email protected]>
* [NayNay] Balance --all

- updated balance command with an option to view all balances of accounts in the config

* updated changelog

* updated result of balance --all

* updated balance command for handling errors when neither argument or option is provided, display help instead of error

* fix tests

* fix the other test

* removing unnecessary return of process.exit, .help exits itself

* minor update

* Update src/balance/command.ts

* remove duplicate configOption on balance

---------

Co-authored-by: mixmix <[email protected]>
rh0delta and others added 4 commits January 9, 2025 14:58
* [NayNay] Verify signatures

- added new verify command to verify signatures
- updated result of sign command to be stringified json making it easier to utilize verify command immediately after signing
- added tests

* updated changelgog

* Update CHANGELOG.md

---------

Co-authored-by: Frankie <[email protected]>
@mixmix mixmix marked this pull request as ready for review January 13, 2025 01:30
@mixmix
Copy link
Contributor Author

mixmix commented Jan 13, 2025

I'm reviewing the changelog now, then on to smoke-testing

@mixmix
Copy link
Contributor Author

mixmix commented Jan 13, 2025

@mixmix
Copy link
Contributor Author

mixmix commented Jan 13, 2025

🔥 BUGS

Please run tests/e2e.cli.sh (read file for how to)
So far I am seeing problems with how balance handles ENTROPY_ENDPOINT - basically you need to use resolveEndpoint(opts.endpoint) ... not just a raw opts.endpoint in balance, and all the other places that that change effected? cc @rh0delta

@mixmix mixmix mentioned this pull request Jan 15, 2025
@mixmix
Copy link
Contributor Author

mixmix commented Jan 15, 2025

Here is a PR which adds tests which will make fixing the problems I found easier : #338

@mixmix mixmix added this to the Function Completeness milestone Jan 15, 2025
mixmix and others added 3 commits January 21, 2025 15:50
* Bump rollup from 3.29.4 to 3.29.5 (#313)

* Bump micromatch from 4.0.7 to 4.0.8

Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.7 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](micromatch/micromatch@4.0.7...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* add changelog

* Update CHANGELOG.md

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mixmix <[email protected]>
Copy link

socket-security bot commented Jan 21, 2025

New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@entropyxyz/[email protected] 🔁 npm/@entropyxyz/[email protected] None 0 889 kB frankiebee
npm/@noble/[email protected] None 0 1.35 MB paulmillr
npm/@noble/[email protected] None 0 747 kB paulmillr
npm/[email protected] None 0 738 kB ricmoo
npm/[email protected] eval 0 1.03 MB esp
npm/[email protected] 🔁 npm/[email protected] None 0 12 kB ljharb
npm/[email protected] 🔁 npm/[email protected] Transitive: eval +2 85.1 kB ljharb
npm/[email protected] None +1 26.5 kB ljharb
npm/[email protected] 🔁 npm/[email protected] None 0 16.1 kB satazor
npm/[email protected] 🔁 npm/[email protected] None 0 11.3 kB ljharb
npm/[email protected] 🔁 npm/[email protected] None 0 11.4 kB ljharb
npm/[email protected] 🔁 npm/[email protected] None +1 26.7 kB ljharb
npm/[email protected] None 0 9.04 kB qix
npm/[email protected] 🔁 npm/[email protected] None +2 2.42 MB ljharb
npm/[email protected] 🔁 npm/[email protected] None 0 14.5 kB ljharb
npm/[email protected] 🔁 npm/[email protected] None 0 44.5 kB ljharb
npm/[email protected] network 0 12.6 MB ricmoo
npm/[email protected] None 0 108 kB matteo.collina
npm/[email protected] 🔁 npm/[email protected] None 0 27.1 kB ljharb
npm/[email protected] None 0 10.8 kB ljharb
npm/[email protected] 🔁 npm/[email protected] None 0 17.2 kB ljharb
npm/[email protected] None 0 9.87 kB ljharb
npm/[email protected] environment, filesystem 0 32.5 kB isaacs
npm/[email protected] None +1 27.5 kB ljharb
npm/[email protected] None 0 23.4 kB ljharb
npm/[email protected] None 0 25.8 kB nlf
npm/[email protected] 🔁 npm/[email protected] None 0 23 kB ljharb
npm/[email protected] None 0 16.1 kB ljharb
npm/[email protected] None 0 22.7 kB ljharb, tunnckocore
npm/[email protected] 🔁 npm/[email protected] None 0 17.9 kB ljharb
npm/[email protected] 🔁 npm/[email protected] None 0 25.4 kB ljharb
npm/[email protected] 🔁 npm/[email protected] None 0 33.5 kB ljharb
npm/[email protected] None +1 36.8 kB ljharb
npm/[email protected] None 0 17.2 kB ljharb
npm/[email protected] eval 0 35.7 kB ljharb
npm/[email protected] 🔁 npm/[email protected] None 0 25.2 kB ljharb
npm/[email protected] 🔁 npm/[email protected] None 0 35.7 kB ljharb
npm/[email protected] 🔁 npm/[email protected] None 0 17.1 kB ljharb
npm/[email protected] 🔁 npm/[email protected] None 0 24 kB ljharb
npm/[email protected] 🔁 npm/[email protected] None 0 27 kB ljharb
npm/[email protected] None +1 64.9 kB ljharb
npm/[email protected] 🔁 npm/[email protected] None 0 15.2 kB ljharb
npm/[email protected] None 0 6.7 kB zkat
npm/[email protected] None 0 22.2 kB esp
npm/[email protected] None 0 3.21 kB sindresorhus
npm/[email protected] None 0 17.3 kB ljharb
npm/[email protected] None 0 23.2 kB jsbizon
npm/[email protected] 🔁 npm/[email protected] None 0 56.6 kB doowb
npm/[email protected] None 0 3.75 kB electerious
npm/[email protected] None 0 26.6 kB audrey.e
npm/[email protected] environment 0 92.5 kB mysticatea
npm/[email protected] 🔁 npm/[email protected] None 0 101 kB ljharb
npm/[email protected] 🔁 npm/[email protected] None 0 78.3 kB ljharb
npm/[email protected] None 0 9.8 kB ljharb
npm/[email protected] None 0 3.74 kB sindresorhus
npm/[email protected] None 0 7.05 kB sindresorhus
npm/[email protected] None 0 4.33 kB sindresorhus
npm/[email protected] 🔁 npm/[email protected] None 0 44.3 kB ljharb
npm/[email protected] unsafe 0 3.42 kB floatdrop
npm/[email protected] environment, filesystem 0 146 kB ljharb
npm/[email protected] 🔁 npm/[email protected] None 0 17.6 kB ljharb
npm/[email protected] None 0 8.5 kB ljharb
npm/[email protected] 🔁 npm/[email protected] None 0 11.9 kB ljharb
npm/[email protected] None 0 9.3 kB ljharb
npm/[email protected] None 0 23.5 kB ljharb
npm/[email protected] None 0 14.7 kB ljharb
npm/[email protected] None 0 13.3 kB ljharb
npm/[email protected] None 0 14.7 kB ljharb
npm/[email protected] 🔁 npm/[email protected] None 0 21.5 kB ljharb
npm/[email protected] None 0 23.4 kB kemitchell
npm/[email protected] None 0 3.47 kB kemitchell
npm/[email protected] None 0 11.8 kB kemitchell
npm/[email protected] None 0 13 kB kemitchell
npm/[email protected] None 0 17.9 kB ljharb
npm/[email protected] 🔁 npm/[email protected] None 0 35.2 kB ljharb
npm/[email protected] 🔁 npm/[email protected] None 0 23.6 kB ljharb
npm/[email protected] None 0 3 kB sindresorhus
npm/[email protected] 🔁 npm/[email protected] None 0 12.2 kB ljharb
npm/[email protected] 🔁 npm/[email protected] None 0 18.4 kB ljharb
npm/[email protected] 🔁 npm/[email protected] None 0 19.8 kB ljharb
npm/[email protected] 🔁 npm/[email protected] None +1 47.6 kB ljharb
npm/[email protected] 🔁 npm/[email protected] None 0 18.5 kB ljharb
npm/[email protected] None 0 16.6 kB kemitchell
npm/[email protected] 🔁 npm/[email protected] None 0 19.3 kB ljharb
npm/[email protected] None +1 54.2 kB ljharb
npm/[email protected] 🔁 npm/[email protected] None 0 141 kB lpinca

🚮 Removed packages: npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

mixmix and others added 4 commits January 22, 2025 15:14
* Bump cross-spawn from 7.0.3 to 7.0.6

Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* add changelog

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mixmix <[email protected]>
Co-authored-by: Nayyir Jutha <[email protected]>
Copy link

socket-security bot commented Jan 22, 2025

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report↗︎

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.

3 participants