Port 'chainid.test' from 'zemu' to 'ragger'
BIN
tests/ragger/snapshots/nanos/test_legacy_chainid1/00000.png
Normal file
|
After Width: | Height: | Size: 374 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_chainid1/00001.png
Normal file
|
After Width: | Height: | Size: 306 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_chainid1/00002.png
Normal file
|
After Width: | Height: | Size: 451 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_chainid1/00003.png
Normal file
|
After Width: | Height: | Size: 320 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_chainid1/00004.png
Normal file
|
After Width: | Height: | Size: 497 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_chainid1/00005.png
Normal file
|
After Width: | Height: | Size: 504 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_chainid1/00006.png
Normal file
|
After Width: | Height: | Size: 373 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_chainid1/00007.png
Normal file
|
After Width: | Height: | Size: 380 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_chainid1/00008.png
Normal file
|
After Width: | Height: | Size: 360 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_chainid1/00009.png
Normal file
|
After Width: | Height: | Size: 414 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_chainid1/00010.png
Normal file
|
After Width: | Height: | Size: 349 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_chainid2/00000.png
Normal file
|
After Width: | Height: | Size: 374 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_chainid2/00001.png
Normal file
|
After Width: | Height: | Size: 343 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_chainid2/00002.png
Normal file
|
After Width: | Height: | Size: 451 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_chainid2/00003.png
Normal file
|
After Width: | Height: | Size: 320 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_chainid2/00004.png
Normal file
|
After Width: | Height: | Size: 497 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_chainid2/00005.png
Normal file
|
After Width: | Height: | Size: 504 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_chainid2/00006.png
Normal file
|
After Width: | Height: | Size: 373 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_chainid2/00007.png
Normal file
|
After Width: | Height: | Size: 357 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_chainid2/00008.png
Normal file
|
After Width: | Height: | Size: 396 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_chainid2/00009.png
Normal file
|
After Width: | Height: | Size: 414 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_chainid2/00010.png
Normal file
|
After Width: | Height: | Size: 349 B |
1
tests/ragger/snapshots/nanosp/test_legacy_chainid1
Symbolic link
@@ -0,0 +1 @@
|
||||
../nanox/test_legacy_chainid1
|
||||
1
tests/ragger/snapshots/nanosp/test_legacy_chainid2
Symbolic link
@@ -0,0 +1 @@
|
||||
../nanox/test_legacy_chainid2
|
||||
BIN
tests/ragger/snapshots/nanox/test_legacy_chainid1/00000.png
Normal file
|
After Width: | Height: | Size: 414 B |
BIN
tests/ragger/snapshots/nanox/test_legacy_chainid1/00001.png
Normal file
|
After Width: | Height: | Size: 540 B |
BIN
tests/ragger/snapshots/nanox/test_legacy_chainid1/00002.png
Normal file
|
After Width: | Height: | Size: 773 B |
BIN
tests/ragger/snapshots/nanox/test_legacy_chainid1/00003.png
Normal file
|
After Width: | Height: | Size: 424 B |
BIN
tests/ragger/snapshots/nanox/test_legacy_chainid1/00004.png
Normal file
|
After Width: | Height: | Size: 420 B |
BIN
tests/ragger/snapshots/nanox/test_legacy_chainid1/00005.png
Normal file
|
After Width: | Height: | Size: 472 B |
BIN
tests/ragger/snapshots/nanox/test_legacy_chainid1/00006.png
Normal file
|
After Width: | Height: | Size: 381 B |
BIN
tests/ragger/snapshots/nanox/test_legacy_chainid2/00000.png
Normal file
|
After Width: | Height: | Size: 414 B |
BIN
tests/ragger/snapshots/nanox/test_legacy_chainid2/00001.png
Normal file
|
After Width: | Height: | Size: 585 B |
BIN
tests/ragger/snapshots/nanox/test_legacy_chainid2/00002.png
Normal file
|
After Width: | Height: | Size: 773 B |
BIN
tests/ragger/snapshots/nanox/test_legacy_chainid2/00003.png
Normal file
|
After Width: | Height: | Size: 435 B |
BIN
tests/ragger/snapshots/nanox/test_legacy_chainid2/00004.png
Normal file
|
After Width: | Height: | Size: 460 B |
BIN
tests/ragger/snapshots/nanox/test_legacy_chainid2/00005.png
Normal file
|
After Width: | Height: | Size: 472 B |
BIN
tests/ragger/snapshots/nanox/test_legacy_chainid2/00006.png
Normal file
|
After Width: | Height: | Size: 381 B |
BIN
tests/ragger/snapshots/stax/test_legacy_chainid1/00000.png
Normal file
|
After Width: | Height: | Size: 7.5 KiB |
BIN
tests/ragger/snapshots/stax/test_legacy_chainid1/00001.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
tests/ragger/snapshots/stax/test_legacy_chainid1/00002.png
Normal file
|
After Width: | Height: | Size: 8.0 KiB |
BIN
tests/ragger/snapshots/stax/test_legacy_chainid1/00003.png
Normal file
|
After Width: | Height: | Size: 8.5 KiB |
BIN
tests/ragger/snapshots/stax/test_legacy_chainid1/00004.png
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
BIN
tests/ragger/snapshots/stax/test_legacy_chainid2/00000.png
Normal file
|
After Width: | Height: | Size: 7.5 KiB |
BIN
tests/ragger/snapshots/stax/test_legacy_chainid2/00001.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
tests/ragger/snapshots/stax/test_legacy_chainid2/00002.png
Normal file
|
After Width: | Height: | Size: 8.3 KiB |
BIN
tests/ragger/snapshots/stax/test_legacy_chainid2/00003.png
Normal file
|
After Width: | Height: | Size: 8.5 KiB |
BIN
tests/ragger/snapshots/stax/test_legacy_chainid2/00004.png
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
@@ -169,6 +169,37 @@ def test_legacy_send_bsc(firmware: Firmware,
|
||||
common(firmware, backend, navigator, tx_params, test_name, BIP32_PATH2)
|
||||
|
||||
|
||||
# Legacy Zemu ChainId: Transfer on network 112233445566 on Ethereum
|
||||
def test_legacy_chainid1(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": 112233445566
|
||||
}
|
||||
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)
|
||||
|
||||
|
||||
def test_1559(firmware: Firmware, backend: BackendInterface, navigator: Navigator):
|
||||
tx_params: dict = {
|
||||
|
||||