Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
tilk committed Dec 18, 2024
1 parent e6735ff commit bd14cfb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion transactron/testing/profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async def process(sim: ProcessContext) -> None:
sim.tick()
.sample(
*(
View(transaction_sample_layout, Cat(transaction.request, transaction.runnable, transaction.grant))
View(transaction_sample_layout, Cat(transaction.ready, transaction.runnable, transaction.run))
for transaction in method_map.transactions
)
)
Expand Down
4 changes: 2 additions & 2 deletions transactron/utils/gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,9 @@ def collect_transaction_method_signals(
get_id = IdGenerator()

for transaction in method_map.transactions:
request_loc = get_signal_location(transaction.request, name_map)
request_loc = get_signal_location(transaction.ready, name_map)
runnable_loc = get_signal_location(transaction.runnable, name_map)
grant_loc = get_signal_location(transaction.grant, name_map)
grant_loc = get_signal_location(transaction.run, name_map)
transaction_signals_location[get_id(transaction)] = TransactionSignalsLocation(
request_loc, runnable_loc, grant_loc
)
Expand Down

0 comments on commit bd14cfb

Please sign in to comment.