Layr-Labs / eigenlayer-contracts

Other
573 stars 298 forks source link

yq library not working as intended #52

Open RonTuretzky opened 1 year ago

RonTuretzky commented 1 year ago

Describe the bug When running the command source source-env.sh [CHAIN] as described here and following the installation commands here the command outputs the following


Error: unknown command "e" for "yq"

Did you mean this?
        new

Run 'yq --help' for usage.
Error: unknown command "e" for "yq"

Did you mean this?
        new

Run 'yq --help' for usage.
Error: unknown command "e" for "yq"

Did you mean this?
        new

Run 'yq --help' for usage.
Environment variables set:
CHAIN_ID:
EXECUTOR_MULTISIG:
FOUNDRY_FUZZ_RUNS:

To Reproduce Steps to reproduce the behavior:

  1. Clone the repository
  2. Install yq
  3. run the command
  4. See error

Expected behavior For the script to properly pull from the config and initalize the env variables

Screenshots image

Environment The error was produced

Solution

eliotstock commented 1 year ago

What should I do to the shebang line in source-env.sh?

Should I still run source source-env.sh goerli after that?

eliotstock commented 1 year ago

Workaround:

export CHAIN_ID=31337
export FOUNDRY_FUZZ_RUNS=256
forge test -vv