Skip to content

Commit

Permalink
Fix IPFS Validator Print Bug (#70)
Browse files Browse the repository at this point in the history
* Update pretty_printer.py

* Update CI.yml
  • Loading branch information
liav-certora authored Jan 8, 2025
1 parent bc9b231 commit 6049695
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ jobs:
Quorum validate-address --customer Aave --chain Ethereum --proposal_address 0xAD6c03BF78A3Ee799b86De5aCE32Bb116eD24637
Quorum validate-batch --config Quorum/tests/regression.json
Quorum validate-by-id --proposal_id 137 --customer Aave
Quorum validate-ipfs --proposal_id 20 --chain Scroll --proposal_address 0x2B25cb729D90630395Cd3140f3460a73A41Fe5f0
4 changes: 2 additions & 2 deletions Quorum/utils/pretty_printer.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ class Colors(StrEnum):
RESET = '\033[0m'


def pprint(message: str, status: Colors, heading: Optional[Heading]=None):
s = status + message + Colors.RESET
def pprint(message: object, status: Colors, heading: Optional[Heading]=None):
s = status + str(message) + Colors.RESET
if heading:
s += '\n' + heading * len(message) + '\n'
print(s)
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20250107.201507.181876
20250108.102745.806579

0 comments on commit 6049695

Please sign in to comment.