ethereum / ethereum/execution-specs

chore(testing): Replace `hashllib.sha256` with faster algorithm

Open
#2,087 1 comment 0 reactions 0 assignees View on GitHub
A-test-fill C-chore E-easy P-low stale
Dominant language
Python
Stars
1.2k
Forks
505
Avg merge
2d 14h
Merged PRs (30d)
116

Description

Maybe a small win in terms of both fixture filling and this hasher command could be to replace this hashing function with something much faster; since we don't need a cryptographically secure hashing algo, we could replace it with something like [xxHash](https://xxhash.com/).

Perhaps for a future PR.

_Originally posted by @marioevz in https://github.com/ethereum/execution-specs/pull/2080#discussion_r2733408033_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.