Add TODO for usages of the stdout emitter, should these just be log messages.

pull/3476/head
derekpierre 2024-04-17 13:18:34 -04:00
parent 1673a7e7a4
commit 238c4cb5aa
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

@ -158,6 +158,7 @@ class BlockchainInterface:
@staticmethod
def __default_on_broadcast(tx: PendingTx):
# TODO review use of emitter - #3482
emitter = StdoutEmitter()
max_cost, max_price_gwei, tx_type = get_tx_cost_data(tx.params)
emitter.message(
@ -622,6 +623,7 @@ class BlockchainInterface:
#
# Broadcast
#
# TODO review use of emitter - #3482
emitter.message(
f"Broadcasting {transaction_name} {tx_type} Transaction ({max_cost} @ {max_price_gwei} gwei)",
color="yellow",