Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
nivcertora committed Jan 6, 2025
1 parent 69891e6 commit 851b574
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions Quorum/entry_points/implementations/check_proposal_id.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
import argparse

from Quorum.apis.governance.aave_governance import AaveGovernanceAPI
from Quorum.checks.proposal_check import run_customer_proposal_validation, ProposalConfig
from Quorum.checks.proposal_check import (
run_customer_proposal_validation,
ProposalConfig,
CustomerConfig,
PayloadAddresses
)


CUSTOMER_TO_API = {
Expand Down Expand Up @@ -34,6 +39,6 @@ def run_proposal_id(args: argparse.Namespace) -> None:

api = CUSTOMER_TO_API[customer_key]
payloads_addresses = api.get_all_payloads_addresses(proposal_id)
config = ProposalConfig(customers_config=[{"customer": customer, "payload_addresses": payloads_addresses}])
config = ProposalConfig(customers_config=[CustomerConfig(customer=customer, payload_addresses=payloads_addresses)])

run_customer_proposal_validation(config)
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20250106.175028.966856
20250106.175617.791589

0 comments on commit 851b574

Please sign in to comment.