Use `bls.use_fastest()` in default testgen

This commit is contained in:
Hsiao-Wei Wang 2024-04-27 16:23:08 +08:00
parent fbccef319b
commit b681552cf3
No known key found for this signature in database
GPG Key ID: AE3D6B174F971DE4
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ def get_provider(create_provider_fn: Callable[[SpecForkName, PresetBaseName, str
def get_create_provider_fn(runner_name: str) -> Callable[[SpecForkName, str, str, PresetBaseName], TestProvider]:
def prepare_fn() -> None:
bls.use_milagro()
bls.use_fastest()
return
def create_provider(fork_name: SpecForkName, preset_name: PresetBaseName,

View File

@ -22,7 +22,7 @@ from eth2spec.debug.random_value import (
def _run_blob_kzg_commitments_merkle_proof_test(spec, state, rng=None):
opaque_tx, blobs, blob_kzg_commitments, proofs = get_sample_opaque_tx(spec, blob_count=1)
opaque_tx, blobs, blob_kzg_commitments, _ = get_sample_opaque_tx(spec, blob_count=1)
if rng is None:
block = build_empty_block_for_next_slot(spec, state)
else: