Search in sources :

Example 11 with RegTestConfig

use of org.ethereum.config.blockchain.RegTestConfig in project rskj by rsksmart.

the class BlockDifficultyValidationRuleTest method setUpBeforeClass.

@BeforeClass
public static void setUpBeforeClass() throws Exception {
    config = new RskSystemProperties();
    config.setBlockchainConfig(new RegTestConfig());
}
Also used : RegTestConfig(org.ethereum.config.blockchain.RegTestConfig) RskSystemProperties(co.rsk.config.RskSystemProperties) BeforeClass(org.junit.BeforeClass)

Example 12 with RegTestConfig

use of org.ethereum.config.blockchain.RegTestConfig in project rskj by rsksmart.

the class RemascContractExecuteTest method setUpBeforeClass.

@BeforeClass
public static void setUpBeforeClass() throws Exception {
    config = new RskSystemProperties();
    config.setBlockchainConfig(new RegTestConfig());
    remascConfig = new RemascConfigFactory(RemascContract.REMASC_CONFIG).createRemascConfig("regtest");
}
Also used : RegTestConfig(org.ethereum.config.blockchain.RegTestConfig) RemascConfigFactory(co.rsk.config.RemascConfigFactory) RskSystemProperties(co.rsk.config.RskSystemProperties) BeforeClass(org.junit.BeforeClass)

Aggregations

RegTestConfig (org.ethereum.config.blockchain.RegTestConfig)12 RskSystemProperties (co.rsk.config.RskSystemProperties)8 BeforeClass (org.junit.BeforeClass)7 RemascConfigFactory (co.rsk.config.RemascConfigFactory)2 Before (org.junit.Before)2 Test (org.junit.Test)2 DevNetConfig (org.ethereum.config.blockchain.DevNetConfig)1 FallbackMainNetConfig (org.ethereum.config.blockchain.FallbackMainNetConfig)1 MainNetConfig (org.ethereum.config.net.MainNetConfig)1 TestNetConfig (org.ethereum.config.net.TestNetConfig)1