Search in sources :

Example 1 with RemascConfigFactory

use of co.rsk.config.RemascConfigFactory in project rskj by rsksmart.

the class RemascProcessMinerFeesTest method setUpBeforeClass.

@BeforeClass
public static void setUpBeforeClass() throws Exception {
    config = new RskSystemProperties();
    config.setBlockchainConfig(new RegTestConfig());
    remascConfig = new RemascConfigFactory(RemascContract.REMASC_CONFIG).createRemascConfig("regtest");
    accountsAddressesUpToD = new LinkedList<>();
    accountsAddressesUpToD.add(coinbaseA.getBytes());
    accountsAddressesUpToD.add(coinbaseB.getBytes());
    accountsAddressesUpToD.add(coinbaseC.getBytes());
    accountsAddressesUpToD.add(coinbaseD.getBytes());
}
Also used : RegTestConfig(org.ethereum.config.blockchain.RegTestConfig) RemascConfigFactory(co.rsk.config.RemascConfigFactory) RskSystemProperties(co.rsk.config.RskSystemProperties) BeforeClass(org.junit.BeforeClass)

Example 2 with RemascConfigFactory

use of co.rsk.config.RemascConfigFactory 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

RemascConfigFactory (co.rsk.config.RemascConfigFactory)2 RskSystemProperties (co.rsk.config.RskSystemProperties)2 RegTestConfig (org.ethereum.config.blockchain.RegTestConfig)2 BeforeClass (org.junit.BeforeClass)2