Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ethereum/research
/ hash
Function
hash
spec_pythonizer/utils/hash.py:6–6 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
4
5
# def hash(x): return sha256(x).digest()
6
def
hash(x):
return
keccak(x)
Callers
8
merkleize
Function · 0.90
mix_in_length
Function · 0.90
create_mock_genesis_validator_deposits
Function · 0.90
test_deposit_in_block
Function · 0.90
test_deposit_top_up
Function · 0.90
test_transfer
Function · 0.90
merkle_minimal.py
File · 0.90
calc_merkle_tree_from_leaves
Function · 0.90
Calls
no outgoing calls
Tested by
3
test_deposit_in_block
Function · 0.72
test_deposit_top_up
Function · 0.72
test_transfer
Function · 0.72