Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
harisang committed Jan 9, 2025
1 parent 16cce52 commit 8a53b31
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions src/fetch/payouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,8 +600,9 @@ def construct_payouts(
f"Network Fees: {total_network_fees / 10**18:.4f}\n"
f"Slippage: {total_slippage / 10**18:.4f}\n\n"
f"Exchange rate native token to COW: {exchange_rate_native_to_cow:.6g} COW/native token\n"
f"Exchange rate native token to ETH: {exchange_rate_native_to_eth:.6g} ETH/native token\n",
f"Minimum native token transfer: {config.payment_config.min_native_token_transfer / 10**18} units\n",
f"Exchange rate native token to ETH: {exchange_rate_native_to_eth:.6g} ETH/native token\n"
f"""Minimum native token transfer:
{config.payment_config.min_native_token_transfer / 10**18} units\n"""
f"Minimum COW transfer: {config.payment_config.min_cow_transfer / 10**18} units\n",
category=Category.TOTALS,
)
Expand Down
7 changes: 4 additions & 3 deletions src/fetch/transfer_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,10 @@ def auto_propose(
slack_client,
channel=slack_channel,
message=(
f"Solver Rewards transaction for network {config.dune_config.dune_blockchain} with nonce {nonce} pending signatures.\n"
f"To sign and execute, visit:\n{config.payment_config.safe_queue_url}\n"
f"More details in thread"
f"""Solver Rewards transaction for network {config.dune_config.dune_blockchain}
with nonce {nonce} pending signatures.\n"
To sign and execute, visit:\n{config.payment_config.safe_queue_url}\n"
More details in thread"""
),
sub_messages=log_saver_obj.get_values(),
)
Expand Down

0 comments on commit 8a53b31

Please sign in to comment.