Skip to content

Commit 264cc21

Browse files
Explicit named mode parameter in sign function calls in GCS Ragger tests
1 parent 22d31b8 commit 264cc21

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/ragger/test_gcs.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def test_gcs_nft(firmware: Firmware,
7070
"data": data,
7171
"chainId": 1
7272
}
73-
with app_client.sign("m/44'/60'/0'/0/0", tx_params, SignMode.STORE):
73+
with app_client.sign("m/44'/60'/0'/0/0", tx_params, mode=SignMode.STORE):
7474
pass
7575

7676
fields = [
@@ -272,7 +272,7 @@ def test_gcs_poap(firmware: Firmware,
272272
response = app_client.provide_tx_simulation(simu_params)
273273
assert response.status == StatusWord.OK
274274

275-
with app_client.sign("m/44'/60'/0'/0/0", tx_params, SignMode.STORE):
275+
with app_client.sign("m/44'/60'/0'/0/0", tx_params, mode=SignMode.STORE):
276276
pass
277277

278278
fields = [
@@ -451,7 +451,7 @@ def test_gcs_1inch(firmware: Firmware,
451451
"data": data,
452452
"chainId": 1
453453
}
454-
with app_client.sign("m/44'/60'/0'/0/0", tx_params, SignMode.STORE):
454+
with app_client.sign("m/44'/60'/0'/0/0", tx_params, mode=SignMode.STORE):
455455
pass
456456

457457
fields = [
@@ -608,7 +608,7 @@ def test_gcs_proxy(firmware: Firmware,
608608
"data": data,
609609
"chainId": 1
610610
}
611-
with app_client.sign("m/44'/60'/0'/0/0", tx_params, SignMode.STORE):
611+
with app_client.sign("m/44'/60'/0'/0/0", tx_params, mode=SignMode.STORE):
612612
pass
613613

614614
fields = [
@@ -720,7 +720,7 @@ def test_gcs_4226(firmware: Firmware,
720720
"data": data,
721721
"chainId": 1
722722
}
723-
with app_client.sign("m/44'/60'/0'/0/0", tx_params, SignMode.STORE):
723+
with app_client.sign("m/44'/60'/0'/0/0", tx_params, mode=SignMode.STORE):
724724
pass
725725

726726
swell_token_addr = bytes.fromhex("0a6e7ba5042b38349e437ec6db6214aec7b35676")

0 commit comments

Comments
 (0)