Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Chore: Update to Dusk-5 (#67) * working local updates for dusk-5 * revert rollup name in env * update remote config and sequencer internals for new protos * env var updates * Update go.mod * use astria-dusk-5 for all networks * Feature: store private key in keyring or keyfile (#64) * store private key in os keyring * --insecure flag for createaccount * improve secure flag * createaccount support keyfile * cleanup * working transfer with privkey, keyring, and keyfile * handle error * test file decryption * remove quotes that implied we aren't secure. was quoting because we're in the if branch that is ran when no `--insecure` flag exists, which means we're "secure" * capture all args for nicer just run usage * update just command comment * use astria-dusk-5 as chain id so remote will work * can only pass in one type of key flag * Feature: Replace `clean` commands with `reset` and `purge` commands (#76) * init doesn't overwrite existing files * add reset commands * add purge commands * update exec "cp" commands with io.copy * readme updates * update comments and descriptions * refactor helper functions and config * fix sequencer transfer description in readme * add cometbft rpc server ready check (#77) * feature: bridge commands (#66) * feat: Add init-bridge and bridge-lock commands * minor changes * store private key in os keyring * --insecure flag for createaccount * chore: initbridge response and command changes * improve secure flag * createaccount support keyfile * cleanup * working transfer with privkey, keyring, and keyfile * handle error * test file decryption * remove quotes that implied we aren't secure. was quoting because we're in the if branch that is ran when no `--insecure` flag exists, which means we're "secure" * capture all args for nicer just run usage * update just command comment * update go-sequencer-client and protos. * helpers. tests. * Update initbridge.go * noun verb. remove --privkey from usage * usage strings * consistent doc strings * reorg bridge commands into one file. make parent bridge command for proper help text. add missing fields to proto. * add chain, asset, and fee asset ids to init bridge opts --------- Co-authored-by: Jesse Snyder <jessetsnyder@gmail.com> * Feature: Update services and CLI config (#79) * added network config default file creation * cleanup network config init * apply config overrides * flags and commands updated * update transfer command and integration tests * update invalid sequencer chain id errors * add default denom to network config and reset * move networks config from utils package to config package * readme updates * readme fmt * add base config and service log level flags * added debug logging for config * removed extra config struct nesting * remove .env files * refactor config dir * update reset commands * reset networks command comment and info update * move shared dev command flags to dev cmd root * command handler added for dev commands * update cli flag handler to have bindBoolFlag and rename handler file * update sequencer commands to use flagHandler * update flagHandler GetValue function to properly return differently typed flag values * update sequencer-chain-id and sequencer-url flags * GetEnvOverrides now updates ASTRIA_COMPOSER_ROLLUPS completely * update bridge commands to use flag handler * update load config names * instance flag help update * comments, typos, and small formatting fixes * refactor service log flag, remove need to SetLogLevel using PreRun for all commands * cobra init functions moved to after all command definitions * ValidateServiceLogLevelOrPanic moved to run.go * process runner opts config var renamed to env * move non global flags to local commands * use constants for defaults, fix initialisms * update bridge lock sequencer url description * fix string flag get value bug * typo fixes and small renamings * ConvertStructToEnvArray moved to ToSlice on BaseConfig * fix LoadNetworkConfigsOrPanic naming and CreateBaseConfig doc comment * update environment config flow * update GetEndpointOverrides to match full ws endpoint * doc comment and regex update for GetEndpointOverrides * Fix/bridge opts integration branch (#87) * added network config default file creation * cleanup network config init * apply config overrides * flags and commands updated * update transfer command and integration tests * update invalid sequencer chain id errors * add default denom to network config and reset * move networks config from utils package to config package * readme updates * readme fmt * add base config and service log level flags * added debug logging for config * removed extra config struct nesting * remove .env files * refactor config dir * update reset commands * reset networks command comment and info update * move shared dev command flags to dev cmd root * command handler added for dev commands * update cli flag handler to have bindBoolFlag and rename handler file * update sequencer commands to use flagHandler * update flagHandler GetValue function to properly return differently typed flag values * update sequencer-chain-id and sequencer-url flags * GetEnvOverrides now updates ASTRIA_COMPOSER_ROLLUPS completely * update bridge commands to use flag handler * update load config names * add fields to bridge lock opts * usage strings and doc comments * instance flag help update * update protos and go-sequencer-client versions * comments, typos, and small formatting fixes * refactor service log flag, remove need to SetLogLevel using PreRun for all commands * cobra init functions moved to after all command definitions * ValidateServiceLogLevelOrPanic moved to run.go * process runner opts config var renamed to env * move non global flags to local commands * update flag names * consistent naming * use constants for defaults, fix initialisms * update bridge lock sequencer url description * fix string flag get value bug * typo fixes and small renamings * ConvertStructToEnvArray moved to ToSlice on BaseConfig * fix LoadNetworkConfigsOrPanic naming and CreateBaseConfig doc comment * fix bridge lock flags * update environment config flow * update GetEndpointOverrides to match full ws endpoint --------- Co-authored-by: Sam Bukowski <sam.c.bukowski@gmail.com> --------- Co-authored-by: Sam Bukowski <sam.c.bukowski@gmail.com> Co-authored-by: quasystaty <121364949+quasystaty1@users.noreply.github.com>
- Loading branch information