Skip to content

Commit

Permalink
Fix tests following eth client update
Browse files Browse the repository at this point in the history
  • Loading branch information
fbeutin-ledger committed Apr 3, 2024
1 parent 2bcd2bf commit 569d064
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/test_swap.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,10 @@ def test_swap_exact_eth_for_token(backend, firmware, navigator, test_name, walle
])

# first setup the external plugin
with client.set_external_plugin(PLUGIN_NAME,
contract.address,
# Extract function selector from the encoded data
get_selector_from_data(data)):
pass
client.set_external_plugin(PLUGIN_NAME,
contract.address,
# Extract function selector from the encoded data
get_selector_from_data(data))

tx_params = {
"nonce": 20,
Expand Down

0 comments on commit 569d064

Please sign in to comment.