Skip to content

Commit 560b897

Browse files
committed
test(mayachain): use the real Maya ETH Router v4 in eth swap/liquidity tests
Firmware MAYA_ROUTER was corrected from the dead d89dce57.. to the Etherscan-verified v4 e3985e6b..46d, so these ETH swaps must target the real router to be clear-signed (else they fall to the AdvancedMode blind-sign gate). Assertions are structural; no exact-vector regen needed.
1 parent 4c3f158 commit 560b897

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_msg_mayachain_signtx.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def test_sign_eth_btc_swap(self):
7878
gas_price=0x5FB9ACA00,
7979
gas_limit=0x186A0,
8080
value=0x00,
81-
to=unhexlify('d89dce570de35a6f42d3bca7dba50a6d89bfc2a2'), # Maya router (firmware-pinned)
81+
to=unhexlify('e3985e6b61b814f7cdb188766562ba71b446b46d'), # Maya router v4 (firmware-pinned)
8282
address_type=0,
8383
chain_id=1,
8484
data=unhexlify('1fece7b4' +
@@ -128,7 +128,7 @@ def test_sign_eth_add_liquidity(self):
128128
gas_price=0x5FB9ACA00,
129129
gas_limit=0x186A0,
130130
value=0x00,
131-
to=unhexlify('d89dce570de35a6f42d3bca7dba50a6d89bfc2a2'), # Maya router (firmware-pinned)
131+
to=unhexlify('e3985e6b61b814f7cdb188766562ba71b446b46d'), # Maya router v4 (firmware-pinned)
132132
address_type=0,
133133
chain_id=1,
134134
data=unhexlify('1fece7b4' +

0 commit comments

Comments
 (0)