Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Dec 18, 2024
1 parent c574af9 commit 59f6e00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion integration_tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,6 @@ def test_batch_tx(cronos):
)

cosmos_tx, tx_hashes = build_batch_tx_signed(
w3,
cli,
[
sign_transaction(w3, deploy_tx, KEYS["validator"]),
Expand Down
4 changes: 2 additions & 2 deletions integration_tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,10 +549,10 @@ def modify_command_in_supervisor_config(ini: Path, fn, **kwargs):

def build_batch_tx(w3, cli, txs, key=KEYS["validator"]):
"return cosmos batch tx and eth tx hashes"
return build_batch_tx_signed([sign_transaction(w3, tx, key) for tx in txs])
return build_batch_tx_signed(cli, [sign_transaction(w3, tx, key) for tx in txs])


def build_batch_tx_signed(w3, cli, signed_txs):
def build_batch_tx_signed(cli, signed_txs):
tmp_txs = [cli.build_evm_tx(signed.rawTransaction.hex()) for signed in signed_txs]

msgs = [tx["body"]["messages"][0] for tx in tmp_txs]
Expand Down

0 comments on commit 59f6e00

Please sign in to comment.