Search in sources :

Example 1 with AbstractNetConfig

use of org.ethereum.config.net.AbstractNetConfig in project rskj by rsksmart.

the class GitHubStateTest method setup.

@BeforeClass
public void setup() {
    // TODO remove this after Homestead launch and shacommit update with actual block number
    // for this JSON test commit the Homestead block was defined as 900000
    config = new RskSystemProperties();
    config.setBlockchainConfig(new AbstractNetConfig() {

        {
            add(0, new GenesisConfig());
        }
    });
}
Also used : AbstractNetConfig(org.ethereum.config.net.AbstractNetConfig) RskSystemProperties(co.rsk.config.RskSystemProperties) GenesisConfig(org.ethereum.config.blockchain.GenesisConfig)

Aggregations

RskSystemProperties (co.rsk.config.RskSystemProperties)1 GenesisConfig (org.ethereum.config.blockchain.GenesisConfig)1 AbstractNetConfig (org.ethereum.config.net.AbstractNetConfig)1