(t *testing.T)
| 128 | } |
| 129 | |
| 130 | func TestRulesIsNotCpchain(t *testing.T) { |
| 131 | cc := ChainConfig{Dpor: nil, ChainID: nil} |
| 132 | rule := cc.Rules(nil) |
| 133 | assert.False(t, rule.IsCpchain) |
| 134 | } |
| 135 | |
| 136 | func TestRulesIsCpchain(t *testing.T) { |
| 137 | cc := ChainConfig{Dpor: nil, ChainID: big.NewInt(MainnetChainId)} |