Skip to content

Commit

Permalink
rename config
Browse files Browse the repository at this point in the history
  • Loading branch information
liav-certora committed Jan 7, 2025
1 parent 31b2b30 commit 606ca99
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ jobs:
run: |
pytest Quorum/tests --maxfail=1 --disable-warnings --tb=short
quorum validate-address --protocol-name Aave --chain Ethereum --payload-address 0xAD6c03BF78A3Ee799b86De5aCE32Bb116eD24637
quorum validate-batch --config-path Quorum/tests/regression.json
quorum validate-batch --config Quorum/tests/regression.json
quorum validate-by-id --proposal-id 137 --protocol-name Aave
4 changes: 2 additions & 2 deletions Quorum/entry_points/cli_arguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ class Argument(BaseModel):
)


CONFIG_PATH_ARGUMENT = Argument(
name='--config-path',
CONFIG_ARGUMENT = Argument(
name='--config',
type=arg_valid.load_config,
required=True,
help="Path to the Json config file."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def run_config(args: argparse.Namespace) -> None:
Raises:
TypeError: If config_data cannot be unpacked into ProposalConfig
"""
config_data: dict[str, Any] = args.config_path
config_data: dict[str, Any] = args.config
customers_config: list[CustomerConfig] = []

for customer_name, chains in config_data.items():
Expand Down
2 changes: 1 addition & 1 deletion Quorum/entry_points/quorum_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class Command(BaseModel):
Command(
name="validate-batch",
help="Validate multiple on-chain payloads sequentially using a JSON config file.",
arguments=[cli_args.CONFIG_PATH_ARGUMENT],
arguments=[cli_args.CONFIG_ARGUMENT],
func=run_config
),
Command(
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20250107.194631.187457
20250107.200733.615539

0 comments on commit 606ca99

Please sign in to comment.