All notable changes to this project will be documented in this file.
The format extends Keep a Changelog. At the moment this project DOES NOT adhere to Semantic Versioning.
Until MAJOR version 1; All MINOR versions are breaking changes and all patch versions are bug fixes and features.
Version header format: [version] Name - year-month-day (entropy-core compatibility: version [range])
- TUI had a bug where it errored for fresh configs on statup
-
programmatic CLI commands
- changed:
entropy
now list help for commands you could launch - new:
entropy account create
- new:
entropy account import
- new:
entropy account list
- new:
entropy account register
- new:
entropy program deploy
- new:
entropy -v
orentropy --version
displays CLI version - new:
entropy -cv
orentropy --core-version
displays entropy core version
- changed:
-
TUI
- added:
entropy tui
- this is now the default way to launch the TUI - new: added faucet to main menu for TUI
- updated faucet to use loading spinner to indicate to user the progress of the transfer
- new: menu item to trigger a jumpstart to the network (needs to be run once for fresh test networks)
- new: added colours to the logs for easier reading
- added:
-
documentation
- updated:
./README.md
- new:
./src/README.md
- an guide to the source of the project - new:
./src/_template/*
- an example "domain" with lots of notes
- updated:
-
tests
-
new:
./tests/account.test.ts
- tests for./src/account/
-
updated:
./tests/balance.test.ts
- tests for./src/balance/
-
new:
./tests/common.test.ts
- tests for./src/common/
-
updated:
./tests/config.test.ts
- tests for./src/config/
-
new:
./tests/e2e.cli.sh
- a shell script which is an early test for programmatic usage -
new:
./tests/faucet.test.ts
- tests./src/faucet/
-
new:
./tests/global.test.ts
- -
new:
./tests/program.test.ts
- tests for./src/program/
-
-
programs
- new:
./tests/programs/faucet_program.wasm
- the faucet program!
- new:
-
packages
- new:
yocto-spinner
for adding loading spinners to the cli - some minor package updates
- new:
-
github actions
- new: CLA action
- updated SDK version to v0.3.0 (entropy-core 0.3.0)
- updated us to use
four-nodes
docker setup
- updated us to use
- logger to handle nested contexts for better organization of logs
- update:
./src/common/utils.ts
- removed isValidSubstrateAddress and imported the method in from the sdk - file restructure:
- removed:
src/flows/*
- added
./src/common/entropy-base.ts
- base abstract class for all our domainsmain.js
files./src/_template
- docs explaining the new file structure pattern./src/account
- new file structure for our CLI/TUI flows- NOTE: this contains register flow
./src/balance
- new file structure for our CLI/TUI flows./src/faucet
- new file structure for our CLI/TUI flows./src/program
- new file structure for our CLI/TUI flows- NOTE: this merges user-program + dev-program domains into a single domain
./src/sign
- new file structure for our CLI/TUI flows./src/transfer
- new file structure for our CLI/TUI flows
- removed:
- folder name for user programs to match the kebab-case style for folder namespace
- ascii art print out now shows up to date core version based, coming from SDK
- updated how errors are handled with the register, the process will no longer exit and allow user's to continue using the CLI
-
config migration : remove all
verifyingKeys
from accounts- network reset means that while all account keys are preserved, all state such as verifyingKeys is lost
- we want users to maintain the accounts they have set up, but reset the state that will no longer work
-
network now uses
four-nodes
docker setup- requires an update to
/etc/hosts
for local testing, should include line:127.0.0.1 alice-tss-server bob-tss-server charlie-tss-server dave-tss-server
- requires an update to
-
for programmatic CLI
- change account listing:
- old:
entropy list
- new:
entropy account list [options]
- old:
- changed transfer:
- old:
entropy transfer [options] <source> <destination> <amount>
- new:
entropy transfer [options] <destination> <amount>
- old:
- changed env:
ENDPOINT
=>ENTROPY_ENDPOINT
- change account listing:
-
for TUI
entropy
now displays help, must now useentropy tui
to launch TUI- "endpoint" configuration has changed
- see
entropy --help
- change flag:
--endpoint
=>--tui-endpiont
- change env:
ENTROPY_ENDPOINT
=>ENTROPY_TUI_ENDPOINT
- change flag:
- This is because of collisions we were seeing with
commander
flags. - Does not effect programmatic CLI usage
- We may revert this in a future release.
- see
- deploying programs now requires
*.wasm
file forbytecode
*.json
file path forconfigurationSchema
*.json
file path forauxillaryDataSchema
- HOT-FIX programmatic balance error 183
- new:
./src/flows/balance/balance.ts
- service file separated out of main flow containing the pure functions to perform balance requests for one or multiple addresses - new:
./tests/balance.test.ts
- new unit tests file for balance pure functions - new:
./src/common/logger.ts
- utility file consisting of the logger used throughout the entropy cli - new:
./src/common/masking.ts
- utility helper file for EntropyLogger, used to mask private data in the payload (message) of the logging method
- keyring retrieval method was incorrectly returning the default keyring when no keyring was found, which is not the intended flow
- conditional when initializing entropy object to only error if no seed AND admin account is not found in the account data, new unit test caught bug with using OR condition
- new:
./dev/README.md
./.github
: their is now a check list you should fill out for creating a PR