Skip to content

Commit

Permalink
fix: add as network holesky to parse vote and ask confirmation before…
Browse files Browse the repository at this point in the history
… sendd
  • Loading branch information
Amuhar committed Feb 28, 2025
1 parent efefb09 commit 403d991
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions scripts/pectra_before_upgrade_devnet7.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,9 @@ def start_vote(tx_params: Dict[str, str], silent: bool) -> Tuple[int, Optional[T
else:
desc_ipfs = upload_vote_ipfs_description(description)

# return confirm_vote_script(vote_items, silent, desc_ipfs) and list(
# create_vote(vote_items, tx_params, desc_ipfs=desc_ipfs)
# )
return list(create_vote(vote_items, tx_params, desc_ipfs=desc_ipfs))
return confirm_vote_script(vote_items, silent, desc_ipfs) and list(
create_vote(vote_items, tx_params, desc_ipfs=desc_ipfs)
)


def main():
Expand Down
2 changes: 1 addition & 1 deletion utils/voting.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def confirm_vote_script(
human_readable_script = decode_evm_script(
encoded_call_script,
verbose=False,
specific_net=CHAIN_NETWORK_NAME,
specific_net="holesky",
repeat_is_error=True,
)

Expand Down

0 comments on commit 403d991

Please sign in to comment.