@@ -31,7 +31,7 @@ def compute_bal_hash(bal: BlockAccessList) -> Hash32:
3131 """
3232 Compute the hash of a Block Access List.
3333
34- The BAL is SSZ-encoded and then hashed with keccak256.
34+ The Block Access List is SSZ-encoded and then hashed with keccak256.
3535
3636 Parameters
3737 ----------
@@ -41,7 +41,7 @@ def compute_bal_hash(bal: BlockAccessList) -> Hash32:
4141 Returns
4242 -------
4343 hash :
44- The keccak256 hash of the SSZ-encoded BAL .
44+ The keccak256 hash of the SSZ-encoded Block Access List .
4545 """
4646 bal_bytes = ssz_encode_block_access_list (bal )
4747 return keccak256 (bal_bytes )
@@ -247,20 +247,20 @@ def validate_bal_against_execution(
247247 block_access_list_builder : Optional ['BlockAccessListBuilder' ] = None
248248) -> bool :
249249 """
250- Validate that a BAL is structurally correct and optionally matches a builder's state.
250+ Validate that a Block Access List is structurally correct and optionally matches a builder's state.
251251
252252 Parameters
253253 ----------
254254 bal :
255255 The Block Access List to validate.
256256 block_access_list_builder :
257- Optional BAL builder to validate against. If provided, checks that the BAL
258- hash matches what would be built from the builder's current state.
257+ Optional Block Access List builder to validate against. If provided, checks that the
258+ Block Access List hash matches what would be built from the builder's current state.
259259
260260 Returns
261261 -------
262262 valid :
263- True if the BAL is structurally valid and matches the builder (if provided).
263+ True if the Block Access List is structurally valid and matches the builder (if provided).
264264 """
265265 # 1. Validate structural constraints
266266
@@ -326,10 +326,10 @@ def validate_bal_against_execution(
326326 if len (code_change .new_code ) > MAX_CODE_SIZE :
327327 return False
328328
329- # 4. If BAL builder provided, validate against it by comparing hashes
329+ # 4. If Block Access List builder provided, validate against it by comparing hashes
330330 if block_access_list_builder is not None :
331331 from .builder import build
332- # Build a BAL from the builder
332+ # Build a Block Access List from the builder
333333 expected_bal = build (block_access_list_builder )
334334
335335 # Compare hashes - much simpler!
0 commit comments