New laconicd breaks fixturenet initialization #889

Closed
opened 2024-07-24 15:39:53 +00:00 by dboreham · 5 comments
Owner

On container start up several things look to break:

/docker-entrypoint-scripts.d/create-fixturenet.sh: 50: [[: not found
/docker-entrypoint-scripts.d/create-fixturenet.sh: 58: [[: not found
/docker-entrypoint-scripts.d/create-fixturenet.sh: 75: [[: not found
/docker-entrypoint-scripts.d/create-fixturenet.sh: 81: [[: not found
/docker-entrypoint-scripts.d/create-fixturenet.sh: 106: [[: not found
Error: unknown command "add-genesis-account" for "laconicd"
Run 'laconicd --help' for usage.
unknown command "add-genesis-account" for "laconicd"
Error: unknown command "gentx" for "laconicd"
Run 'laconicd --help' for usage.
unknown command "gentx" for "laconicd"
Error: unknown command "collect-gentxs" for "laconicd"
Run 'laconicd --help' for usage.
unknown command "collect-gentxs" for "laconicd"
Error: unknown command "validate-genesis" for "laconicd"
Run 'laconicd --help' for usage.
unknown command "validate-genesis" for "laconicd"
/docker-entrypoint-scripts.d/create-fixturenet.sh: 128: [[: not found
Error: unknown flag: --evm.tracer
Usage:
  laconicd start [flags]

Flags:
      --abci string                                     specify abci transport (socket | grpc) (default "socket")
      --address string                                  Listen address (default "tcp://0.0.0.0:26658")
      --api.address string                              the API server address to listen on (default "tcp://localhost:1317")
      --api.enable                                      Define if the API server should be enabled
      --api.enabled-unsafe-cors                         Define if CORS should be enabled (unsafe - use it at your own risk)
      --api.max-open-connections uint                   Define the number of maximum open connections (default 1000)
      --api.rpc-max-body-bytes uint                     Define the CometBFT maximum request body (in bytes) (default 1000000)
      --api.rpc-read-timeout uint                       Define the CometBFT RPC read timeout (in seconds) (default 10)
      --api.rpc-write-timeout uint                      Define the CometBFT RPC write timeout (in seconds)
      --api.swagger                                     Define if swagger documentation should automatically be registered (Note: the API must also be enabled)
      --consensus.create_empty_blocks                   set this to false to only produce blocks when there are txs or when the AppHash changes (default true)
      --consensus.create_empty_blocks_interval string   the possible interval between empty blocks (default "0s")
      --consensus.double_sign_check_height int          how many blocks to look back to check existence of the node's consensus votes before joining consensus
      --cpu-profile string                              Enable CPU profiling and write to the provided file
      --db_backend string                               database backend: goleveldb | cleveldb | boltdb | rocksdb | badgerdb (default "goleveldb")
      --db_dir string                                   database directory (default "data")
      --genesis_hash bytesHex                           optional SHA-256 hash of the genesis file
      --grpc-only                                       Start the node in gRPC query only mode (no CometBFT process is started)
      --grpc-web.enable                                 Define if the gRPC-Web server should be enabled. (Note: gRPC must also be enabled) (default true)
      --grpc.address string                             the gRPC server address to listen on (default "localhost:9090")
      --grpc.enable                                     Define if the gRPC server should be enabled (default true)
      --halt-height uint                                Block height at which to gracefully halt the chain and shutdown the node
      --halt-time uint                                  Minimum block time (in Unix seconds) at which to gracefully halt the chain and shutdown the node
  -h, --help                                            help for start
      --home string                                     The application home directory (default "/root/.laconicd")
      --iavl-disable-fastnode                           Disable fast node for IAVL tree
      --inter-block-cache                               Enable inter-block caching (default true)
      --inv-check-period uint                           Assert registered invariants every N blocks
      --mempool.max-txs int                             Sets MaxTx value for the app-side mempool
      --min-retain-blocks uint                          Minimum block height offset during ABCI commit to prune CometBFT blocks
      --minimum-gas-prices string                       Minimum gas prices to accept for transactions; Any fee in a tx must meet this minimum (e.g. 0.01photino;0.0001stake)
      --moniker string                                  node name (default "effd839bfb69")
      --p2p.external-address string                     ip:port address to advertise to peers for them to dial
      --p2p.laddr string                                node listen address. (0.0.0.0:0 means any interface, any port) (default "tcp://0.0.0.0:26656")
      --p2p.persistent_peers string                     comma-delimited ID@host:port persistent peers
      --p2p.pex                                         enable/disable Peer-Exchange (default true)
      --p2p.private_peer_ids string                     comma-delimited private peer IDs
      --p2p.seed_mode                                   enable/disable seed mode
      --p2p.seeds string                                comma-delimited ID@host:port seed nodes
      --p2p.unconditional_peer_ids string               comma-delimited IDs of unconditional peers
      --priv_validator_laddr string                     socket address to listen on for connections from external priv_validator process
      --proxy_app string                                proxy app address, or one of: 'kvstore', 'persistent_kvstore' or 'noop' for local testing. (default "tcp://127.0.0.1:26658")
      --pruning string                                  Pruning strategy (default|nothing|everything|custom) (default "default")
      --pruning-interval uint                           Height interval at which pruned heights are removed from disk (ignored if pruning is not 'custom')
      --pruning-keep-recent uint                        Number of recent heights to keep on disk (ignored if pruning is not 'custom')
      --query-gas-limit uint                            Maximum gas a Rest/Grpc query can consume. Blank and 0 imply unbounded.
      --rpc.grpc_laddr string                           GRPC listen address (BroadcastTx only). Port required
      --rpc.laddr string                                RPC listen address. Port required (default "tcp://127.0.0.1:26657")
      --rpc.pprof_laddr string                          pprof listen address (https://golang.org/pkg/net/http/pprof)
      --rpc.unsafe                                      enabled unsafe rpc methods
      --shutdown-grace duration                         On Shutdown, duration to wait for resource clean up
      --state-sync.snapshot-interval uint               State sync snapshot interval
      --state-sync.snapshot-keep-recent uint32          State sync snapshot to keep (default 2)
      --trace                                           Provide full stack traces for errors in ABCI Log
      --trace-store string                              Enable KVStore tracing to an output file
      --transport string                                Transport protocol: socket, grpc (default "socket")
      --unsafe-skip-upgrades ints                       Skip a set of upgrade heights to continue the old binary
      --with-comet                                      Run abci app embedded in-process with CometBFT (default true)

Global Flags:
      --gql-playground                   Enable GQL playground.
      --gql-playground-api-base string   GQL API base path to use in GQL playground.
      --gql-port string                  Port to use for the GQL server. (default "9473")
      --gql-server                       Start GQL server.
      --log-file string                  File to tail for GQL 'getLogs' API.
      --log_format string                The logging format (json|plain) (default "plain")
      --log_level string                 The logging level (trace|debug|info|warn|error|fatal|panic|disabled or '*:<level>,<key>:<level>') (default "info")
      --log_no_color                     Disable colored logs

unknown flag: --evm.tracer
/docker-entrypoint-scripts.d/create-fixturenet.sh: 17: [: unexpected operator
Utilities for managing application configuration

Usage:
  laconicd config [command]

Available Commands:
  diff        Outputs all config values that are different from the app.toml defaults.
  get         Get an application config value
  home        Outputs the folder used as the binary home. No home directory is set when using the tool standalone.
  migrate     Migrate Cosmos SDK app configuration file to the specified version
  set         Set an application config value
  view        View the config file

Flags:
  -h, --help   help for config

Global Flags:
      --gql-playground                   Enable GQL playground.
      --gql-playground-api-base string   GQL API base path to use in GQL playground.
      --gql-port string                  Port to use for the GQL server. (default "9473")
      --gql-server                       Start GQL server.
      --home string                      directory for config and data (default "/root/.laconicd")
      --log-file string                  File to tail for GQL 'getLogs' API.
      --log_format string                The logging format (json|plain) (default "plain")
      --log_level string                 The logging level (trace|debug|info|warn|error|fatal|panic|disabled or '*:<level>,<key>:<level>') (default "info")
      --log_no_color                     Disable colored logs
      --trace                            print out full stack trace on errors

Use "laconicd config [command] --help" for more information about a command.
Utilities for managing application configuration

Usage:
  laconicd config [command]

Available Commands:
  diff        Outputs all config values that are different from the app.toml defaults.
  get         Get an application config value
  home        Outputs the folder used as the binary home. No home directory is set when using the tool standalone.
  migrate     Migrate Cosmos SDK app configuration file to the specified version
  set         Set an application config value
  view        View the config file

Flags:
  -h, --help   help for config

Global Flags:
      --gql-playground                   Enable GQL playground.
      --gql-playground-api-base string   GQL API base path to use in GQL playground.
      --gql-port string                  Port to use for the GQL server. (default "9473")
      --gql-server                       Start GQL server.
      --home string                      directory for config and data (default "/root/.laconicd")
      --log-file string                  File to tail for GQL 'getLogs' API.
      --log_format string                The logging format (json|plain) (default "plain")
      --log_level string                 The logging level (trace|debug|info|warn|error|fatal|panic|disabled or '*:<level>,<key>:<level>') (default "info")
      --log_no_color                     Disable colored logs
      --trace                            print out full stack trace on errors

Use "laconicd config [command] --help" for more information about a command.
Error: eth_secp256k1: unsupported signing algo
Usage:
  laconicd keys add <name> [flags]

On container start up several things look to break: ``` /docker-entrypoint-scripts.d/create-fixturenet.sh: 50: [[: not found /docker-entrypoint-scripts.d/create-fixturenet.sh: 58: [[: not found /docker-entrypoint-scripts.d/create-fixturenet.sh: 75: [[: not found /docker-entrypoint-scripts.d/create-fixturenet.sh: 81: [[: not found /docker-entrypoint-scripts.d/create-fixturenet.sh: 106: [[: not found Error: unknown command "add-genesis-account" for "laconicd" Run 'laconicd --help' for usage. unknown command "add-genesis-account" for "laconicd" Error: unknown command "gentx" for "laconicd" Run 'laconicd --help' for usage. unknown command "gentx" for "laconicd" Error: unknown command "collect-gentxs" for "laconicd" Run 'laconicd --help' for usage. unknown command "collect-gentxs" for "laconicd" Error: unknown command "validate-genesis" for "laconicd" Run 'laconicd --help' for usage. unknown command "validate-genesis" for "laconicd" /docker-entrypoint-scripts.d/create-fixturenet.sh: 128: [[: not found Error: unknown flag: --evm.tracer Usage: laconicd start [flags] Flags: --abci string specify abci transport (socket | grpc) (default "socket") --address string Listen address (default "tcp://0.0.0.0:26658") --api.address string the API server address to listen on (default "tcp://localhost:1317") --api.enable Define if the API server should be enabled --api.enabled-unsafe-cors Define if CORS should be enabled (unsafe - use it at your own risk) --api.max-open-connections uint Define the number of maximum open connections (default 1000) --api.rpc-max-body-bytes uint Define the CometBFT maximum request body (in bytes) (default 1000000) --api.rpc-read-timeout uint Define the CometBFT RPC read timeout (in seconds) (default 10) --api.rpc-write-timeout uint Define the CometBFT RPC write timeout (in seconds) --api.swagger Define if swagger documentation should automatically be registered (Note: the API must also be enabled) --consensus.create_empty_blocks set this to false to only produce blocks when there are txs or when the AppHash changes (default true) --consensus.create_empty_blocks_interval string the possible interval between empty blocks (default "0s") --consensus.double_sign_check_height int how many blocks to look back to check existence of the node's consensus votes before joining consensus --cpu-profile string Enable CPU profiling and write to the provided file --db_backend string database backend: goleveldb | cleveldb | boltdb | rocksdb | badgerdb (default "goleveldb") --db_dir string database directory (default "data") --genesis_hash bytesHex optional SHA-256 hash of the genesis file --grpc-only Start the node in gRPC query only mode (no CometBFT process is started) --grpc-web.enable Define if the gRPC-Web server should be enabled. (Note: gRPC must also be enabled) (default true) --grpc.address string the gRPC server address to listen on (default "localhost:9090") --grpc.enable Define if the gRPC server should be enabled (default true) --halt-height uint Block height at which to gracefully halt the chain and shutdown the node --halt-time uint Minimum block time (in Unix seconds) at which to gracefully halt the chain and shutdown the node -h, --help help for start --home string The application home directory (default "/root/.laconicd") --iavl-disable-fastnode Disable fast node for IAVL tree --inter-block-cache Enable inter-block caching (default true) --inv-check-period uint Assert registered invariants every N blocks --mempool.max-txs int Sets MaxTx value for the app-side mempool --min-retain-blocks uint Minimum block height offset during ABCI commit to prune CometBFT blocks --minimum-gas-prices string Minimum gas prices to accept for transactions; Any fee in a tx must meet this minimum (e.g. 0.01photino;0.0001stake) --moniker string node name (default "effd839bfb69") --p2p.external-address string ip:port address to advertise to peers for them to dial --p2p.laddr string node listen address. (0.0.0.0:0 means any interface, any port) (default "tcp://0.0.0.0:26656") --p2p.persistent_peers string comma-delimited ID@host:port persistent peers --p2p.pex enable/disable Peer-Exchange (default true) --p2p.private_peer_ids string comma-delimited private peer IDs --p2p.seed_mode enable/disable seed mode --p2p.seeds string comma-delimited ID@host:port seed nodes --p2p.unconditional_peer_ids string comma-delimited IDs of unconditional peers --priv_validator_laddr string socket address to listen on for connections from external priv_validator process --proxy_app string proxy app address, or one of: 'kvstore', 'persistent_kvstore' or 'noop' for local testing. (default "tcp://127.0.0.1:26658") --pruning string Pruning strategy (default|nothing|everything|custom) (default "default") --pruning-interval uint Height interval at which pruned heights are removed from disk (ignored if pruning is not 'custom') --pruning-keep-recent uint Number of recent heights to keep on disk (ignored if pruning is not 'custom') --query-gas-limit uint Maximum gas a Rest/Grpc query can consume. Blank and 0 imply unbounded. --rpc.grpc_laddr string GRPC listen address (BroadcastTx only). Port required --rpc.laddr string RPC listen address. Port required (default "tcp://127.0.0.1:26657") --rpc.pprof_laddr string pprof listen address (https://golang.org/pkg/net/http/pprof) --rpc.unsafe enabled unsafe rpc methods --shutdown-grace duration On Shutdown, duration to wait for resource clean up --state-sync.snapshot-interval uint State sync snapshot interval --state-sync.snapshot-keep-recent uint32 State sync snapshot to keep (default 2) --trace Provide full stack traces for errors in ABCI Log --trace-store string Enable KVStore tracing to an output file --transport string Transport protocol: socket, grpc (default "socket") --unsafe-skip-upgrades ints Skip a set of upgrade heights to continue the old binary --with-comet Run abci app embedded in-process with CometBFT (default true) Global Flags: --gql-playground Enable GQL playground. --gql-playground-api-base string GQL API base path to use in GQL playground. --gql-port string Port to use for the GQL server. (default "9473") --gql-server Start GQL server. --log-file string File to tail for GQL 'getLogs' API. --log_format string The logging format (json|plain) (default "plain") --log_level string The logging level (trace|debug|info|warn|error|fatal|panic|disabled or '*:<level>,<key>:<level>') (default "info") --log_no_color Disable colored logs unknown flag: --evm.tracer /docker-entrypoint-scripts.d/create-fixturenet.sh: 17: [: unexpected operator Utilities for managing application configuration Usage: laconicd config [command] Available Commands: diff Outputs all config values that are different from the app.toml defaults. get Get an application config value home Outputs the folder used as the binary home. No home directory is set when using the tool standalone. migrate Migrate Cosmos SDK app configuration file to the specified version set Set an application config value view View the config file Flags: -h, --help help for config Global Flags: --gql-playground Enable GQL playground. --gql-playground-api-base string GQL API base path to use in GQL playground. --gql-port string Port to use for the GQL server. (default "9473") --gql-server Start GQL server. --home string directory for config and data (default "/root/.laconicd") --log-file string File to tail for GQL 'getLogs' API. --log_format string The logging format (json|plain) (default "plain") --log_level string The logging level (trace|debug|info|warn|error|fatal|panic|disabled or '*:<level>,<key>:<level>') (default "info") --log_no_color Disable colored logs --trace print out full stack trace on errors Use "laconicd config [command] --help" for more information about a command. Utilities for managing application configuration Usage: laconicd config [command] Available Commands: diff Outputs all config values that are different from the app.toml defaults. get Get an application config value home Outputs the folder used as the binary home. No home directory is set when using the tool standalone. migrate Migrate Cosmos SDK app configuration file to the specified version set Set an application config value view View the config file Flags: -h, --help help for config Global Flags: --gql-playground Enable GQL playground. --gql-playground-api-base string GQL API base path to use in GQL playground. --gql-port string Port to use for the GQL server. (default "9473") --gql-server Start GQL server. --home string directory for config and data (default "/root/.laconicd") --log-file string File to tail for GQL 'getLogs' API. --log_format string The logging format (json|plain) (default "plain") --log_level string The logging level (trace|debug|info|warn|error|fatal|panic|disabled or '*:<level>,<key>:<level>') (default "info") --log_no_color Disable colored logs --trace print out full stack trace on errors Use "laconicd config [command] --help" for more information about a command. Error: eth_secp256k1: unsupported signing algo Usage: laconicd keys add <name> [flags] ```
Member

some of these fixes are in #888

some of these fixes are in #888
Author
Owner

Ok assigning this bug to @zramsay

Ok assigning this bug to @zramsay
zramsay was assigned by dboreham 2024-07-24 16:05:54 +00:00
ashwin was assigned by zramsay 2024-07-25 00:31:56 +00:00
zramsay removed their assignment 2024-07-25 00:32:01 +00:00
Author
Owner

Is this fixed now?

Is this fixed now?
Member

Is this fixed now?

Should be handled in #891

> Is this fixed now? Should be handled in https://git.vdb.to/cerc-io/stack-orchestrator/pulls/891
Author
Owner

Can someone close this bug to indicate that it is fixed?

Can someone close this bug to indicate that it is fixed?
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/stack-orchestrator#889
No description provided.