use of org.aion.zero.impl.blockchain.StandaloneBlockchain.Builder in project aion by aionnetwork.
the class BalanceTransferConsensusTest method setup.
@Before
public void setup() {
Bundle bundle = new Builder().withDefaultAccounts(Collections.singletonList(org.aion.crypto.ECKeyFac.inst().fromPrivate(SENDER_KEY))).withValidatorConfiguration("simple").withAvmEnabled().build();
this.blockchain = bundle.bc;
AvmTestConfig.supportOnlyAvmVersion1();
}
use of org.aion.zero.impl.blockchain.StandaloneBlockchain.Builder in project aion by aionnetwork.
the class FvmBalanceTransferConsensusTest method setup.
@Before
public void setup() {
Bundle bundle = new Builder().withDefaultAccounts(Collections.singletonList(org.aion.crypto.ECKeyFac.inst().fromPrivate(SENDER_KEY))).withValidatorConfiguration("simple").withAvmEnabled().build();
this.blockchain = bundle.bc;
AvmTestConfig.supportOnlyAvmVersion1();
}
Aggregations