@@ -30,6 +30,8 @@ class TestMsgEthereumtxMakerDAO(common.KeepKeyTest):
3030 def test_generate (self ):
3131 self .requires_fullFeature ()
3232 self .setup_mnemonic_nopin_nopassphrase ()
33+ # MakerDAO calldata now follows the generic blind-signing path.
34+ self .client .apply_policy ("AdvancedMode" , 1 )
3335
3436 sig_v , sig_r , sig_s = self .client .ethereum_sign_tx (
3537 n = [2147483692 ,2147483708 ,2147483648 ,0 ,0 ],
@@ -50,6 +52,8 @@ def test_generate(self):
5052 def test_deposit (self ):
5153 self .requires_fullFeature ()
5254 self .setup_mnemonic_nopin_nopassphrase ()
55+ # MakerDAO calldata now follows the generic blind-signing path.
56+ self .client .apply_policy ("AdvancedMode" , 1 )
5357
5458 sig_v , sig_r , sig_s = self .client .ethereum_sign_tx (
5559 n = [2147483692 ,2147483708 ,2147483648 ,0 ,0 ],
@@ -71,6 +75,8 @@ def test_deposit(self):
7175 def test_close (self ):
7276 self .requires_fullFeature ()
7377 self .setup_mnemonic_nopin_nopassphrase ()
78+ # MakerDAO calldata now follows the generic blind-signing path.
79+ self .client .apply_policy ("AdvancedMode" , 1 )
7480
7581 sig_v , sig_r , sig_s = self .client .ethereum_sign_tx (
7682 n = [2147483692 ,2147483708 ,2147483648 ,0 ,0 ],
@@ -92,6 +98,8 @@ def test_close(self):
9298 def test_free (self ):
9399 self .requires_fullFeature ()
94100 self .setup_mnemonic_nopin_nopassphrase ()
101+ # MakerDAO calldata now follows the generic blind-signing path.
102+ self .client .apply_policy ("AdvancedMode" , 1 )
95103
96104 sig_v , sig_r , sig_s = self .client .ethereum_sign_tx (
97105 n = [2147483692 ,2147483708 ,2147483648 ,0 ,0 ],
@@ -111,4 +119,3 @@ def test_free(self):
111119
112120if __name__ == '__main__' :
113121 unittest .main ()
114-
0 commit comments