daemon.py: temporarily disable ETC (Ethereum Classic) support

This commit is contained in:
The MMGen Project 2021-07-29 14:30:23 +00:00
commit 59c96fb16b
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
4 changed files with 5 additions and 9 deletions

View file

@ -332,7 +332,7 @@ class CoinDaemon(Daemon):
'LTC': _cd('Litecoin', ['litecoin_core']),
'XMR': _cd('Monero', ['monero']),
'ETH': _cd('Ethereum', ['openethereum']),
'ETC': _cd('Ethereum Classic', ['openethereum_etc']),
# 'ETC': _cd('Ethereum Classic', ['openethereum_etc']),
}
@classmethod
@ -672,7 +672,7 @@ class openethereum_daemon(CoinDaemon):
def stop_cmd(self):
return ['kill','-Wf',self.pid] if self.platform == 'win' else ['kill',self.pid]
class openethereum_etc_daemon(openethereum_daemon):
rpc_ports = _pd(*[8645 + n for n in openethereum_daemon.ports_shift.values()])
# class openethereum_etc_daemon(openethereum_daemon):
# rpc_ports = _pd(*[8645 + n for n in openethereum_daemon.ports_shift.values()])
CoinDaemon.check_implement()

View file

@ -53,10 +53,6 @@ else:
if i not in network_ids:
die(1,f'{i!r}: invalid network ID')
if 'eth' in ids and 'etc' in ids:
msg('Cannot run ETH and ETC simultaneously, so skipping ETC')
ids.remove('etc')
for network_id in ids:
network_id = network_id.lower()
d = CoinDaemon(

View file

@ -36,7 +36,7 @@ python='python3'
rounds=100 rounds_min=20 rounds_mid=250 rounds_max=500
dfl_tests='misc obj color unit hash ref altref alts xmr eth autosign btc btc_tn btc_rt bch bch_rt ltc ltc_rt tool tool2 gen'
extra_tests='autosign_btc autosign_live etc ltc_tn bch_tn'
extra_tests='autosign_btc autosign_live ltc_tn bch_tn' # 'etc' temporarily disabled
noalt_tests='misc obj color unit hash ref autosign_btc btc btc_tn btc_rt tool tool2 gen'
quick_tests='misc obj color unit hash ref altref alts xmr eth autosign btc btc_rt tool tool2 gen'
qskip_tests='btc_tn bch bch_rt ltc ltc_rt'

View file

@ -138,7 +138,7 @@ coin = g.coin
class TestSuiteEthdev(TestSuiteBase,TestSuiteShared):
'Ethereum transacting, token deployment and tracking wallet operations'
networks = ('eth','etc')
networks = ('eth',) # 'etc' temporarily disabled
passthru_opts = ('coin',)
extra_spawn_args = ['--regtest=1']
tmpdir_nums = [22]