@@ -728,6 +728,7 @@ def test_penalty_outhtlc(node_factory, bitcoind, executor, chainparams):
728728
729729
730730@unittest .skipIf (TEST_NETWORK != 'regtest' , 'elementsd doesnt yet support PSBT features we need' )
731+ @unittest .skipIf (os .getenv ('SUBDAEMON' ).startswith ('hsmd:remote_hsmd' ), "handle_sign_option_will_fund_offer unimplemented" )
731732@pytest .mark .openchannel ('v2' )
732733@pytest .mark .slow_test
733734@pytest .mark .developer ("requres 'dev-queryrates'" )
@@ -769,6 +770,7 @@ def test_channel_lease_falls_behind(node_factory, bitcoind):
769770
770771
771772@unittest .skipIf (TEST_NETWORK != 'regtest' , 'elementsd doesnt yet support PSBT features we need' )
773+ @unittest .skipIf (os .getenv ('SUBDAEMON' ).startswith ('hsmd:remote_hsmd' ), "handle_sign_option_will_fund_offer unimplemented" )
772774@pytest .mark .openchannel ('v2' )
773775@pytest .mark .developer ("requres 'dev-queryrates'" )
774776@pytest .mark .slow_test
@@ -873,6 +875,7 @@ def test_channel_lease_post_expiry(node_factory, bitcoind, chainparams):
873875
874876
875877@unittest .skipIf (TEST_NETWORK != 'regtest' , 'elementsd doesnt yet support PSBT features we need' )
878+ @unittest .skipIf (os .getenv ('SUBDAEMON' ).startswith ('hsmd:remote_hsmd' ), "handle_sign_option_will_fund_offer unimplemented" )
876879@pytest .mark .openchannel ('v2' )
877880@pytest .mark .slow_test
878881@pytest .mark .developer ("requres 'dev-queryrates'" )
@@ -979,6 +982,7 @@ def test_channel_lease_unilat_closes(node_factory, bitcoind):
979982
980983
981984@unittest .skipIf (TEST_NETWORK != 'regtest' , 'elementsd doesnt yet support PSBT features we need' )
985+ @unittest .skipIf (os .getenv ('SUBDAEMON' ).startswith ('hsmd:remote_hsmd' ), "handle_sign_option_will_fund_offer unimplemented" )
982986@pytest .mark .openchannel ('v2' )
983987@unittest .skipIf (os .getenv ('TEST_DB_PROVIDER' , 'sqlite3' ) != 'sqlite3' , "Makes use of the sqlite3 db" )
984988@pytest .mark .developer ("requres 'dev-queryrates'" )
@@ -1055,6 +1059,7 @@ def test_channel_lease_lessor_cheat(node_factory, bitcoind, chainparams):
10551059
10561060
10571061@unittest .skipIf (TEST_NETWORK != 'regtest' , 'elementsd doesnt yet support PSBT features we need' )
1062+ @unittest .skipIf (os .getenv ('SUBDAEMON' ).startswith ('hsmd:remote_hsmd' ), "handle_sign_option_will_fund_offer unimplemented" )
10581063@pytest .mark .openchannel ('v2' )
10591064@unittest .skipIf (os .getenv ('TEST_DB_PROVIDER' , 'sqlite3' ) != 'sqlite3' , "Makes use of the sqlite3 db" )
10601065@pytest .mark .developer ("requres 'dev-queryrates'" )
@@ -1130,6 +1135,7 @@ def test_channel_lease_lessee_cheat(node_factory, bitcoind, chainparams):
11301135
11311136@pytest .mark .developer ("needs DEVELOPER=1" )
11321137@unittest .skipIf (os .getenv ('TEST_DB_PROVIDER' , 'sqlite3' ) != 'sqlite3' , "Makes use of the sqlite3 db" )
1138+ @unittest .skipIf (os .getenv ('SUBDAEMON' ).startswith ('hsmd:remote_hsmd' ), "policy: can't sign revoked commitment number" )
11331139@pytest .mark .slow_test
11341140def test_penalty_htlc_tx_fulfill (node_factory , bitcoind , chainparams ):
11351141 """ Test that the penalizing node claims any published
@@ -1297,6 +1303,7 @@ def test_penalty_htlc_tx_fulfill(node_factory, bitcoind, chainparams):
12971303
12981304@pytest .mark .developer ("needs DEVELOPER=1" )
12991305@unittest .skipIf (os .getenv ('TEST_DB_PROVIDER' , 'sqlite3' ) != 'sqlite3' , "Makes use of the sqlite3 db" )
1306+ @unittest .skipIf (os .getenv ('SUBDAEMON' ).startswith ('hsmd:remote_hsmd' ), "policy: can't sign revoked commitment number" )
13001307@pytest .mark .slow_test
13011308def test_penalty_htlc_tx_timeout (node_factory , bitcoind , chainparams ):
13021309 """ Test that the penalizing node claims any published
@@ -1505,6 +1512,7 @@ def test_penalty_htlc_tx_timeout(node_factory, bitcoind, chainparams):
15051512
15061513
15071514@pytest .mark .developer ("uses dev_sign_last_tx" )
1515+ @unittest .skipIf (os .getenv ('SUBDAEMON' ).startswith ('hsmd:remote_hsmd' ), "exceeds max fee policy" )
15081516def test_penalty_rbf_normal (node_factory , bitcoind , executor , chainparams ):
15091517 '''
15101518 Test that penalty transactions are RBFed.
@@ -1629,6 +1637,7 @@ def get_rbf_tx(self, depth, name, resolve):
16291637
16301638
16311639@pytest .mark .developer ("uses dev_sign_last_tx" )
1640+ @unittest .skipIf (os .getenv ('SUBDAEMON' ).startswith ('hsmd:remote_hsmd' ), "exceeds max fee policy" )
16321641def test_penalty_rbf_burn (node_factory , bitcoind , executor , chainparams ):
16331642 '''
16341643 Test that penalty transactions are RBFed and we are willing to burn
@@ -3084,6 +3093,7 @@ def test_permfail_htlc_out(node_factory, bitcoind, executor):
30843093
30853094
30863095@pytest .mark .developer ("needs DEVELOPER=1" )
3096+ @unittest .skipIf (os .getenv ('SUBDAEMON' ).startswith ('hsmd:remote_hsmd' ), "policy: can't withdraw to non-wallet address" )
30873097def test_permfail (node_factory , bitcoind ):
30883098 l1 , l2 = node_factory .line_graph (2 )
30893099
@@ -3188,6 +3198,7 @@ def test_shutdown(node_factory):
31883198
31893199@flaky
31903200@pytest .mark .developer ("needs to set upfront_shutdown_script" )
3201+ @unittest .skipIf (os .getenv ('SUBDAEMON' ).startswith ('hsmd:remote_hsmd' ), "policy failure: validate_mutual_close_tx: holder_script doesn't match upfront holder_shutdown_script" )
31913202def test_option_upfront_shutdown_script (node_factory , bitcoind , executor ):
31923203 # There's a workaround in channeld, that it treats incoming errors
31933204 # before both sides are locked in as warnings; this happens in
0 commit comments