Skip to content

Commit 1a325b5

Browse files
committed
changed name of simulation function
1 parent b480c5b commit 1a325b5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/apis/tenderlyapi.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,9 @@ def simulate_solution(
4242
else:
4343
calldata = solution["callData"]
4444

45-
return self.simulate_transaction(
46-
calldata, solution["solverAddress"], block_number
47-
)
45+
return self.simulate_calldata(calldata, solution["solverAddress"], block_number)
4846

49-
def simulate_transaction(
47+
def simulate_calldata(
5048
self, calldata: str, solver: str, block_number: int
5149
) -> Optional[dict[str, Any]]:
5250
"""Simulate a transaction from solver with given calldata at a specified block number."""

0 commit comments

Comments
 (0)