예제 #1
0
def noproof_consensus_chain(request):
    return api.build(
        MiningChain,
        api.fork_at(request.param, 0),
        api.disable_pow_check(),
        api.genesis(),
    )
예제 #2
0
파일: test_vm.py 프로젝트: fubuloubu/py-evm
def noproof_consensus_chain(vm_class):
    # This will always have the same vm configuration as the POW chain
    return api.build(
        MiningChain,
        api.fork_at(vm_class, 0),
        api.disable_pow_check(),
        api.genesis(params=dict(gas_limit=100000)),
    )
예제 #3
0
파일: test_vm.py 프로젝트: fubuloubu/py-evm
def pow_consensus_chain(vm_class):
    return api.build(
        MiningChain,
        api.fork_at(vm_class, 0),
        api.genesis(),
    )
예제 #4
0
def pow_consensus_chain(request):
    return api.build(
        MiningChain,
        api.fork_at(request.param, 0),
        api.genesis(),
    )