Remove redundant tests from test_sign
|
Before Width: | Height: | Size: 374 B After Width: | Height: | Size: 374 B |
|
Before Width: | Height: | Size: 306 B After Width: | Height: | Size: 306 B |
|
Before Width: | Height: | Size: 451 B After Width: | Height: | Size: 451 B |
|
Before Width: | Height: | Size: 320 B After Width: | Height: | Size: 320 B |
|
Before Width: | Height: | Size: 497 B After Width: | Height: | Size: 497 B |
|
Before Width: | Height: | Size: 504 B After Width: | Height: | Size: 504 B |
|
Before Width: | Height: | Size: 373 B After Width: | Height: | Size: 373 B |
|
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
|
Before Width: | Height: | Size: 360 B After Width: | Height: | Size: 360 B |
|
Before Width: | Height: | Size: 414 B After Width: | Height: | Size: 414 B |
|
Before Width: | Height: | Size: 349 B After Width: | Height: | Size: 349 B |
|
Before Width: | Height: | Size: 374 B |
|
Before Width: | Height: | Size: 343 B |
|
Before Width: | Height: | Size: 451 B |
|
Before Width: | Height: | Size: 320 B |
|
Before Width: | Height: | Size: 497 B |
|
Before Width: | Height: | Size: 504 B |
|
Before Width: | Height: | Size: 373 B |
|
Before Width: | Height: | Size: 357 B |
|
Before Width: | Height: | Size: 396 B |
|
Before Width: | Height: | Size: 414 B |
|
Before Width: | Height: | Size: 349 B |
|
Before Width: | Height: | Size: 374 B |
|
Before Width: | Height: | Size: 330 B |
|
Before Width: | Height: | Size: 451 B |
|
Before Width: | Height: | Size: 320 B |
|
Before Width: | Height: | Size: 497 B |
|
Before Width: | Height: | Size: 504 B |
|
Before Width: | Height: | Size: 373 B |
|
Before Width: | Height: | Size: 367 B |
|
Before Width: | Height: | Size: 414 B |
|
Before Width: | Height: | Size: 349 B |
1
tests/ragger/snapshots/nanosp/test_legacy_chainid
Symbolic link
@@ -0,0 +1 @@
|
||||
../nanox/test_legacy_chainid
|
||||
@@ -1 +0,0 @@
|
||||
../nanox/test_legacy_chainid1
|
||||
@@ -1 +0,0 @@
|
||||
../nanox/test_legacy_chainid2
|
||||
@@ -1 +0,0 @@
|
||||
../nanox/test_legacy_send
|
||||
|
Before Width: | Height: | Size: 414 B After Width: | Height: | Size: 414 B |
|
Before Width: | Height: | Size: 540 B After Width: | Height: | Size: 540 B |
|
Before Width: | Height: | Size: 773 B After Width: | Height: | Size: 773 B |
|
Before Width: | Height: | Size: 424 B After Width: | Height: | Size: 424 B |
|
Before Width: | Height: | Size: 420 B After Width: | Height: | Size: 420 B |
|
Before Width: | Height: | Size: 472 B After Width: | Height: | Size: 472 B |
|
Before Width: | Height: | Size: 381 B After Width: | Height: | Size: 381 B |
|
Before Width: | Height: | Size: 414 B |
|
Before Width: | Height: | Size: 585 B |
|
Before Width: | Height: | Size: 773 B |
|
Before Width: | Height: | Size: 435 B |
|
Before Width: | Height: | Size: 460 B |
|
Before Width: | Height: | Size: 472 B |
|
Before Width: | Height: | Size: 381 B |
|
Before Width: | Height: | Size: 414 B |
|
Before Width: | Height: | Size: 566 B |
|
Before Width: | Height: | Size: 773 B |
|
Before Width: | Height: | Size: 434 B |
|
Before Width: | Height: | Size: 472 B |
|
Before Width: | Height: | Size: 381 B |
|
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 7.5 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 8.0 KiB After Width: | Height: | Size: 8.0 KiB |
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 8.5 KiB |
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 7.5 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 8.3 KiB |
|
Before Width: | Height: | Size: 8.5 KiB |
|
Before Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 8.5 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 9.4 KiB |
|
Before Width: | Height: | Size: 6.0 KiB |
@@ -124,22 +124,6 @@ def test_legacy(firmware: Firmware, backend: BackendInterface, navigator: Naviga
|
||||
common(firmware, backend, navigator, tx_params)
|
||||
|
||||
|
||||
# Legacy Zemu Send: Transfer Ether on Ethereum app
|
||||
def test_legacy_send(firmware: Firmware,
|
||||
backend: BackendInterface,
|
||||
navigator: Navigator,
|
||||
test_name: str):
|
||||
tx_params: dict = {
|
||||
"nonce": NONCE2,
|
||||
"gasPrice": Web3.to_wei(GAS_PRICE, "gwei"),
|
||||
"gas": GAS_LIMIT,
|
||||
"to": ADDR2,
|
||||
"value": 31415926913374232,
|
||||
"chainId": CHAIN_ID
|
||||
}
|
||||
common(firmware, backend, navigator, tx_params, test_name, BIP32_PATH2)
|
||||
|
||||
|
||||
# Legacy Zemu Send: Transfer amount >= 2^87 Eth on Ethereum app should fail
|
||||
def test_legacy_send_error(backend: BackendInterface):
|
||||
tx_params: dict = {
|
||||
@@ -170,7 +154,7 @@ def test_legacy_send_bsc(firmware: Firmware,
|
||||
|
||||
|
||||
# Legacy Zemu ChainId: Transfer on network 112233445566 on Ethereum
|
||||
def test_legacy_chainid1(firmware: Firmware,
|
||||
def test_legacy_chainid(firmware: Firmware,
|
||||
backend: BackendInterface,
|
||||
navigator: Navigator,
|
||||
test_name: str):
|
||||
@@ -185,22 +169,6 @@ def test_legacy_chainid1(firmware: Firmware,
|
||||
common(firmware, backend, navigator, tx_params, test_name, BIP32_PATH2)
|
||||
|
||||
|
||||
# Legacy Zemu ChainId: Transfer on palm network on Ethereum
|
||||
def test_legacy_chainid2(firmware: Firmware,
|
||||
backend: BackendInterface,
|
||||
navigator: Navigator,
|
||||
test_name: str):
|
||||
tx_params: dict = {
|
||||
"nonce": NONCE2,
|
||||
"gasPrice": Web3.to_wei(GAS_PRICE, 'gwei'),
|
||||
"gas": GAS_LIMIT,
|
||||
"to": ADDR2,
|
||||
"value": 31415926913374232,
|
||||
"chainId": 11297108109
|
||||
}
|
||||
common(firmware, backend, navigator, tx_params, test_name, BIP32_PATH2)
|
||||
|
||||
|
||||
# Legacy Zemu contract data warning: Try to blind sign with setting disabled
|
||||
def test_legacy_contract(firmware: Firmware,
|
||||
backend: BackendInterface,
|
||||
|
||||