ETCFork3M extends Eip160HFConfig { @Override public boolean eip161() { return false; } ETCFork3M(BlockchainConfig parent); @Override Integer getChainId(); @Override boolean eip161(); @Override BigInteger calcDifficulty(BlockHeader curBlock, BlockHeader parent); @Override BigInteger getCalcDifficultyMultiplier(BlockHeader curBlock, BlockHeader parent);  }
@Test public void testRelatedEip() throws Exception { TestBlockchainConfig parent = new TestBlockchainConfig(); ETCFork3M etcFork3M = new ETCFork3M(parent); assertFalse(etcFork3M.eip198()); assertFalse(etcFork3M.eip206()); assertFalse(etcFork3M.eip211()); assertFalse(etcFork3M.eip212()); assertFalse(etcFork3M.eip213()); assertFalse(etcFork3M.eip214()); assertFalse(etcFork3M.eip658()); assertFalse(etcFork3M.eip161()); parent.enableAllEip(); assertTrue(etcFork3M.eip198()); assertFalse(etcFork3M.eip206()); assertFalse(etcFork3M.eip211()); assertTrue(etcFork3M.eip212()); assertTrue(etcFork3M.eip213()); assertFalse(etcFork3M.eip214()); assertFalse(etcFork3M.eip658()); assertFalse(etcFork3M.eip161()); }