Port 'send_bsc.test' from 'zemu' to 'ragger'
BIN
tests/ragger/snapshots/nanos/test_legacy_send_bsc/00000.png
Normal file
|
After Width: | Height: | Size: 374 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_send_bsc/00001.png
Normal file
|
After Width: | Height: | Size: 337 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_send_bsc/00002.png
Normal file
|
After Width: | Height: | Size: 451 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_send_bsc/00003.png
Normal file
|
After Width: | Height: | Size: 320 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_send_bsc/00004.png
Normal file
|
After Width: | Height: | Size: 497 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_send_bsc/00005.png
Normal file
|
After Width: | Height: | Size: 504 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_send_bsc/00006.png
Normal file
|
After Width: | Height: | Size: 373 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_send_bsc/00007.png
Normal file
|
After Width: | Height: | Size: 323 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_send_bsc/00008.png
Normal file
|
After Width: | Height: | Size: 377 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_send_bsc/00009.png
Normal file
|
After Width: | Height: | Size: 414 B |
BIN
tests/ragger/snapshots/nanos/test_legacy_send_bsc/00010.png
Normal file
|
After Width: | Height: | Size: 349 B |
1
tests/ragger/snapshots/nanosp/test_legacy_send_bsc
Symbolic link
@@ -0,0 +1 @@
|
||||
../nanox/test_legacy_send_bsc
|
||||
BIN
tests/ragger/snapshots/nanox/test_legacy_send_bsc/00000.png
Normal file
|
After Width: | Height: | Size: 414 B |
BIN
tests/ragger/snapshots/nanox/test_legacy_send_bsc/00001.png
Normal file
|
After Width: | Height: | Size: 585 B |
BIN
tests/ragger/snapshots/nanox/test_legacy_send_bsc/00002.png
Normal file
|
After Width: | Height: | Size: 773 B |
BIN
tests/ragger/snapshots/nanox/test_legacy_send_bsc/00003.png
Normal file
|
After Width: | Height: | Size: 373 B |
BIN
tests/ragger/snapshots/nanox/test_legacy_send_bsc/00004.png
Normal file
|
After Width: | Height: | Size: 438 B |
BIN
tests/ragger/snapshots/nanox/test_legacy_send_bsc/00005.png
Normal file
|
After Width: | Height: | Size: 472 B |
BIN
tests/ragger/snapshots/nanox/test_legacy_send_bsc/00006.png
Normal file
|
After Width: | Height: | Size: 381 B |
BIN
tests/ragger/snapshots/stax/test_legacy_send_bsc/00000.png
Normal file
|
After Width: | Height: | Size: 8.8 KiB |
BIN
tests/ragger/snapshots/stax/test_legacy_send_bsc/00001.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
tests/ragger/snapshots/stax/test_legacy_send_bsc/00002.png
Normal file
|
After Width: | Height: | Size: 7.3 KiB |
BIN
tests/ragger/snapshots/stax/test_legacy_send_bsc/00003.png
Normal file
|
After Width: | Height: | Size: 9.7 KiB |
BIN
tests/ragger/snapshots/stax/test_legacy_send_bsc/00004.png
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
@@ -126,9 +126,9 @@ def test_legacy(firmware: Firmware, backend: BackendInterface, navigator: Naviga
|
||||
|
||||
# Legacy Zemu Send: Transfer Ether on Ethereum app
|
||||
def test_legacy_send(firmware: Firmware,
|
||||
backend: BackendInterface,
|
||||
navigator: Navigator,
|
||||
test_name: str):
|
||||
backend: BackendInterface,
|
||||
navigator: Navigator,
|
||||
test_name: str):
|
||||
tx_params: dict = {
|
||||
"nonce": NONCE2,
|
||||
"gasPrice": Web3.to_wei(GAS_PRICE, "gwei"),
|
||||
@@ -153,6 +153,22 @@ def test_legacy_send_error(backend: BackendInterface):
|
||||
common_fail(backend, tx_params, StatusWord.EXCEPTION_OVERFLOW, path=BIP32_PATH2)
|
||||
|
||||
|
||||
# Legacy Zemu Send BSC: Transfer bsc
|
||||
def test_legacy_send_bsc(firmware: Firmware,
|
||||
backend: BackendInterface,
|
||||
navigator: Navigator,
|
||||
test_name: str):
|
||||
tx_params: dict = {
|
||||
"nonce": 1,
|
||||
"gasPrice": Web3.to_wei(5, 'gwei'),
|
||||
"gas": GAS_LIMIT,
|
||||
"to": ADDR2,
|
||||
"value": 31415926913374232,
|
||||
"chainId": 56
|
||||
}
|
||||
common(firmware, backend, navigator, tx_params, test_name, BIP32_PATH2)
|
||||
|
||||
|
||||
|
||||
def test_1559(firmware: Firmware, backend: BackendInterface, navigator: Navigator):
|
||||
tx_params: dict = {
|
||||
|
||||